preview-tui: ls flags

This commit is contained in:
Luuk van Baal 2021-04-27 21:37:18 +02:00
parent 4ebc396250
commit 7a7fd5fcab
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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