1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

zsh: improve <ESC><ESC> sudo action with vim

This commit is contained in:
2018-07-30 09:30:03 +01:00
parent 815da41076
commit 7f8c8eccb3
2 changed files with 5 additions and 7 deletions

View File

@ -40,6 +40,7 @@ alias -g CLIP="| xclip -i -selection primary -f | xclip -i -selection clipboard"
calc() { bc -l <<< "$@"; }
alias svi=sudoedit
alias svim=sudoedit
# This will enable us to use aliases in sudo.
# (If alias finishes with a space or tab, the shell will check if the next command is also aliased.)
# Source: https://github.com/mayah/home/blob/master/.zsh/zshrc.d/alias.zsh