X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=6d2b806eefb683dad6ffd28dd221ac83d0176eb4;hb=1fefd8c3cfebc6c0bc68c2fbf668853c2eda60e6;hp=461c294244c9f48cdf23f0822b6b6de05cb1aa3c;hpb=a66794c98aecaf0c612fcec5488b84b422e05e92;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 461c294..6d2b806 100644 --- a/zsh/rc +++ b/zsh/rc @@ -325,16 +325,11 @@ zstyle ':completion:*:(hg|git)*:*' ignore-line yes # Make sure aliases are expanded when using sudo. alias sudo='sudo ' -# Redirect stderr to stdout. +# Global aliases for often used commands used in the command line. alias -g E='2>&1' - -# Simplify calls to less, automatically redirects all output. alias -g L='E | less' -# Simplify calls to colordiff, output is also piped through less. alias -g D='E | colordiff L' -# Simplify calls to grep. alias -g G='| grep' -# Simplify calls to sort. alias -g S='| sort' # Automatically use unified diffs.