]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/rc
zsh/rc: Add global alias LS (2>&1 | less -S).
[config/dotfiles.git] / zsh / rc
diff --git a/zsh/rc b/zsh/rc
index 92aebe723efbcbe2049481e76471fb913bf2684e..e3434efe911aff888bb52181b9d13a2ea2b27c78 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -628,6 +628,7 @@ alias sudo='sudo '
 # Global aliases for often used redirections.
 alias -g E='2>&1'
 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'
 # Global aliases for often used commands in the command line.
 alias -g A='| awk'