mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 13:26:37 +00:00
Changed exa from grid to tree view (preview-tui) (#1803)
* Changed exa from grid to tree view (preview-tui) * Update plugins/preview-tui Change also eza Co-authored-by: blissful <blissful@sunsetglow.net> * Changed maximum depth in exa and eza * Added fifo_pager to exa and eza --------- Co-authored-by: blissful <blissful@sunsetglow.net>
This commit is contained in:
parent
f2a8648861
commit
e76d7bbf1d
|
@ -368,9 +368,9 @@ preview_file() {
|
||||||
elif exists tree; then
|
elif exists tree; then
|
||||||
fifo_pager tree --filelimit "$(find . -maxdepth 1 | wc -l)" -L 3 -C -F --dirsfirst --noreport
|
fifo_pager tree --filelimit "$(find . -maxdepth 1 | wc -l)" -L 3 -C -F --dirsfirst --noreport
|
||||||
elif exists exa; then
|
elif exists exa; then
|
||||||
exa -G --group-directories-first --colour=always
|
fifo_pager exa -T --group-directories-first --colour=always -L 3
|
||||||
elif exists eza; then # eza is a community fork of exa (exa is unmaintained)
|
elif exists eza; then # eza is a community fork of exa (exa is unmaintained)
|
||||||
eza -G --group-directories-first --colour=always
|
fifo_pager eza -T --group-directories-first --colour=always -L 3
|
||||||
else
|
else
|
||||||
fifo_pager ls -F --group-directories-first --color=always
|
fifo_pager ls -F --group-directories-first --color=always
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue