]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
zsh/rc: Remove a few indirections in aliases.
authorSimon Ruderich <simon@ruderich.org>
Wed, 29 Aug 2012 16:22:51 +0000 (18:22 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 29 Aug 2012 16:22:51 +0000 (18:22 +0200)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index e34d9050232303a781951abe0559b2c63740d9cd..e630ed4bcaf637066cb13cfda0bf21b94975e488 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -627,8 +627,8 @@ alias sudo='sudo '
 
 # Global aliases for often used commands in the command line.
 alias -g E='2>&1'
-alias -g L='E | less'
-alias -g D='E | colordiff L'
+alias -g L='2>&1 | less'
+alias -g D='2>&1 | colordiff | less'
 alias -g G='| grep'
 alias -g S='| sort'
 alias -g U='| uniq'