From f92970f4a27cb6e8ce83161a8b894f234c66bf57 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 10 Jan 2019 10:21:57 +0100 Subject: [PATCH] shell: aliases: add -S to chop long lines in tree wrapper Makes output more readable with (long) symlinks, for example in git-annex repositories. --- shell/shell/aliases.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.45.2