Skip to content

Commit

Permalink
Changed exa from grid to tree view (preview-tui) (#1803)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
manceras and azuline authored Feb 2, 2024
1 parent f2a8648 commit e76d7bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/preview-tui
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,9 @@ preview_file() {
elif exists tree; then
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
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)
eza -G --group-directories-first --colour=always
fifo_pager eza -T --group-directories-first --colour=always -L 3
else
fifo_pager ls -F --group-directories-first --color=always
fi
Expand Down

0 comments on commit e76d7bb

Please sign in to comment.