summaryrefslogtreecommitdiff
path: root/bin/fzf-preview.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fzf-preview.sh')
-rwxr-xr-xbin/fzf-preview.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fzf-preview.sh b/bin/fzf-preview.sh
index dd017848..ecec41ae 100755
--- a/bin/fzf-preview.sh
+++ b/bin/fzf-preview.sh
@@ -14,7 +14,7 @@ if [[ $# -ne 1 ]]; then
fi
file=${1/#\~\//$HOME/}
-type=$(file --dereference --mime -- "$file")
+type=$(file --brief --dereference --mime -- "$file")
if [[ ! $type =~ image/ ]]; then
if [[ $type =~ =binary ]]; then