From: Simon Ruderich Date: Thu, 10 Jan 2019 09:21:57 +0000 (+0100) Subject: shell: aliases: add -S to chop long lines in tree wrapper X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=f92970f4a27cb6e8ce83161a8b894f234c66bf57 shell: aliases: add -S to chop long lines in tree wrapper Makes output more readable with (long) symlinks, for example in git-annex repositories. --- diff --git a/shell/shell/aliases.in b/shell/shell/aliases.in index 6d8997d..294467d 100644 --- a/shell/shell/aliases.in +++ b/shell/shell/aliases.in @@ -115,7 +115,7 @@ alias grep='grep --color=auto' # Pipe output through less. tree() { - command tree -C "$@" | less + command tree -C "$@" | less -S } # Better viewer for info pages .. just pipe everything into less.