summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc/30_aliases18
1 files changed, 14 insertions, 4 deletions
diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases
index f52c9e5..4776a53 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
@@ -52,10 +52,20 @@ alias bofh='fortune bofh-excuses'
alias q3='SDL_VIDEO_FULLSCREEN_HEAD=1 ioquake3'
# host aliases
-alias distanz="ssh distanz.ch -t \"screen -dRU\""
-alias distanz6="ssh -6 6.distanz.ch -t \"screen -dRU\""
+alias distanz="ssh tklauser@distanz.ch -t \"screen -dRU\""
+alias distanz6="ssh -6 tklauser@6.distanz.ch -t \"screen -dRU\""
alias sym=distanz
alias sym6=distanz6
-alias lema="ssh lema.distanz.ch -t \"screen -dRU\""
+alias lema="ssh tklauser@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