nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4ebc396250a8c1ffa3b6613258e2007e8ec55cc3
parent 0c88d1c210b5224d83509f86a36c6f28d36b99db
Author: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
Date:   Tue, 27 Apr 2021 21:28:38 +0200

preview-tui: restore tree view (#972)


Diffstat:
Mplugins/preview-tui | 2+-
Mplugins/preview-tui-ext | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/preview-tui b/plugins/preview-tui @@ -201,7 +201,7 @@ preview_file () { elif [ -d "$1" ]; then cd "$1" || return if exists tree; then - fifo_pager tree -L 3 --dirsfirst -C -F --noreport -i + fifo_pager tree --filelimit "$(find . -maxdepth 1 | wc -l)" -L 3 -C -F --dirsfirst --noreport elif exists exa; then exa -G --colour=always 2>/dev/null else diff --git a/plugins/preview-tui-ext b/plugins/preview-tui-ext @@ -227,7 +227,7 @@ preview_file() { # shellcheck disable=SC2012 ls -F --group-directories-first | head -n "$((lines - 3))" | "$(dirname "$0")"/.iconlookup -l "$cols" -B "$BSTR" -b " " elif exists tree; then - fifo_pager tree -L 3 --dirsfirst -C -F --noreport -i + fifo_pager tree --filelimit "$(find . -maxdepth 1 | wc -l)" -L 3 -C -F --dirsfirst --noreport elif exists exa; then exa -G --group-directories-first --colour=always 2>/dev/null else