]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
zsh/rc: Add global aliases N (>/dev/null) and EN (2>/dev/null).
authorSimon Ruderich <simon@ruderich.org>
Tue, 16 Oct 2012 03:26:24 +0000 (05:26 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 16 Oct 2012 03:26:24 +0000 (05:26 +0200)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index be8e8f5c39e0c9043c24368877d42d258fa2216b..f696a34f16efa20fe5bbf7d4c5c708e41ed498c5 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -624,6 +624,8 @@ alias sudo='sudo '
 
 # Global aliases for often used redirections.
 alias -g E='2>&1'
+alias -g N='>/dev/null'
+alias -g EN='2>/dev/null'
 alias -g L='2>&1 | less'
 alias -g LS='2>&1 | less -S' # -S prevents wrapping of long lines
 alias -g D='2>&1 | colordiff | less'