From f7a9e6e78bc5abb4279e7201704f9071aa8e5671 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 24 Oct 2013 11:14:17 +0200 Subject: zshrc: aliases: Add some useful global aliases --- .zsh/zshrc/30_aliases | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to '.zsh/zshrc') diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index f52c9e5..24acfdb 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -2,7 +2,7 @@ # # Define command aliases # -# Copyright © 2010 Tobias Klauser +# Copyright © 2010, 2013 Tobias Klauser # Released under the terms of the Artistic Licence 2.0 # # Source repository: git://git.distanz.ch/dotfiles/zsh.git @@ -58,4 +58,14 @@ alias sym=distanz alias sym6=distanz6 alias lema="ssh lema.distanz.ch -t \"screen -dRU\"" +# +# global aliases +# + +alias -g 1N="1>/dev/null" +alias -g 2N="2>/dev/null" +alias -g 12N="1>&2>/dev/null" + +alias -g L="| less" + # vim:ft=zsh -- cgit v1.2.3-54-g00ecf