diff --git a/zshrc b/zshrc index 85693e5..e91980b 100644 --- a/zshrc +++ b/zshrc @@ -76,6 +76,8 @@ alias less='less -r' alias pp='fc -e -' # Call last command in edit mode alias ppe='fc' +# Call last command with sudo +alias pps='sudo $(fc -ln -1)' # fdfind ## disregard vcs ignore files (.gitignore…) as homedir is a git repository…