summaryrefslogtreecommitdiff
path: root/.zsh/zshrc/30_aliases
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-10-24 11:14:17 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-10-24 11:14:17 +0200
commitf7a9e6e78bc5abb4279e7201704f9071aa8e5671 (patch)
tree1a59b6451b605697fb9dc1dbb24be9dbbc6482ea /.zsh/zshrc/30_aliases
parentb851df97de5a0ac854cd1121bdc49d6b316dabc3 (diff)
zshrc: aliases: Add some useful global aliases
Diffstat (limited to '.zsh/zshrc/30_aliases')
-rw-r--r--.zsh/zshrc/30_aliases12
1 files changed, 11 insertions, 1 deletions
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 <tklauser@distanz.ch>
+# Copyright © 2010, 2013 Tobias Klauser <tklauser@distanz.ch>
# 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