Skip to content

Commit b7b902a

Browse files
author
Bruno Sutic
committed
Do not colorize tree output
Because pagers other than less might not handle ansi escape codes well (example `view -`).
1 parent 21f26f9 commit b7b902a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
### master
4+
- do not colorize `tree` output because a pager application might not handle it
5+
well
46

57
### v0.7.0, Sep 05, 2014
68
- bugfix: invalid params for 'save_sidebar_width' script

scripts/variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ TREE_OPTION="@sidebar-tree"
99
TREE_FOCUS_KEY="Bspace"
1010
TREE_FOCUS_OPTION="@sidebar-tree-focus"
1111

12-
TREE_COMMAND="tree -C"
12+
TREE_COMMAND="tree"
1313
TREE_COMMAND_OPTION="@sidebar-tree-command"
1414

1515
TREE_PAGER="LESS= less --dumb --chop-long-lines --tilde --IGNORE-CASE --RAW-CONTROL-CHARS"

0 commit comments

Comments
 (0)