commit 7a7fd5fcabf8268fd635073f3f97c87986d193d4
parent 4ebc396250a8c1ffa3b6613258e2007e8ec55cc3
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Tue, 27 Apr 2021 21:37:18 +0200
preview-tui: ls flags
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/preview-tui b/plugins/preview-tui
@@ -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
diff --git a/plugins/preview-tui-ext b/plugins/preview-tui-ext
@@ -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