X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=1f5e11bcccad3254c3dfdc7c9b693b3a6bbd8d12;hb=7b535ad1bdcf79a03b05091c97b991a1df92b8aa;hp=e49885e600f1522bb10a360ef08e4026ea49eba5;hpb=9675a9f5b894ba739e1223b892bc44bf4a835d39;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index e49885e..1f5e11b 100644 --- a/zsh/rc +++ b/zsh/rc @@ -237,6 +237,9 @@ zstyle ':completion:*:(hg|git)*:*' ignore-line yes # CUSTOM ALIASES AND FUNCTIONS +# Make sure aliases are expanded when using sudo. +alias sudo='sudo ' + # Simplify calls to less, automatically redirects all output. alias -g L='2>&1 | less' # Simplify calls to colordiff, output is also piped through less.