Created
October 29, 2018 12:03
-
-
Save david-wm-sanders/6d34fd848dc5748a1607d6409ff14858 to your computer and use it in GitHub Desktop.
Re-run the last command with sudo in fish shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function !! | |
eval sudo $history[1] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment