mirror of https://github.com/jarun/nnn.git
Added fifo_pager to exa and eza
This commit is contained in:
parent
454101247e
commit
ac2cfbea76
|
@ -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 -T --group-directories-first --colour=always -L 3
|
||||
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 -T --group-directories-first --colour=always -L 3
|
||||
fifo_pager eza -T --group-directories-first --colour=always -L 3
|
||||
else
|
||||
fifo_pager ls -F --group-directories-first --color=always
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue