Oh-my-zsh sudo plugin for fish. Modified from https://www.manueluberti.eu/programming/2018/10/27/sudo-fish/.
Press Ctrl+s to prepend sudo to your current command line, or if the command line is blank prepend it to the previous command in the history.