# 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.