mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
preview-tui: ls flags
This commit is contained in:
parent
4ebc396250
commit
7a7fd5fcab
|
@ -205,7 +205,7 @@ preview_file () {
|
|||
elif exists exa; then
|
||||
exa -G --colour=always 2>/dev/null
|
||||
else
|
||||
fifo_pager ls --color=always
|
||||
fifo_pager ls -F --directories-first --color=always
|
||||
fi
|
||||
elif [ "${encoding#*)}" = "binary" ]; then
|
||||
if [ "${mimetype%%/*}" = "image" ]; then
|
||||
|
|
|
@ -231,7 +231,7 @@ preview_file() {
|
|||
elif exists exa; then
|
||||
exa -G --group-directories-first --colour=always 2>/dev/null
|
||||
else
|
||||
fifo_pager ls --group-directories-first --color=always
|
||||
fifo_pager ls -F --group-directories-first --color=always
|
||||
fi
|
||||
elif [ "${encoding#*)}" = "binary" ]; then
|
||||
if [ "${mimetype%%/*}" = "image" ]; then
|
||||
|
|
Loading…
Reference in a new issue