Skip to content

Add sudo plugin which bind \e\e to add sudo in front of the command #1545

wants to merge 1 commit into from

2 participants


$ pacman -Syu
then, press <esc><esc>, and the command will be:
$ sudo pacman -Syu
or, add sudo to the previous command if nothing is type yet.


Unfortunately a later PR merged this same functionality: #1947.

@wodesuck wodesuck closed this May 20, 2014

Thanks @wodesuck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.