Skip to content

Commit 9a128f1

Browse files
authored
Merge pull request #1990 from psicho2000/fix/use-command-flags
fix: enable flags for NNN_PREVIEWIMGPROG
2 parents 7b11751 + 3f34bbf commit 9a128f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/preview-tui

+1-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ image_preview() {
459459
elif exists ueberzug && [[ "$NNN_PREVIEWIMGPROG" == +(|ueberzug) ]]; then
460460
ueberzug_layer "$1" "$2" "$3" && return
461461
elif exists "${NNN_PREVIEWIMGPROG%% *}"; then # can include command flags; only check first word
462-
"$NNN_PREVIEWIMGPROG" "$3" &
462+
$NNN_PREVIEWIMGPROG "$3" &
463463
else
464464
fifo_pager print_bin_info "$3" && return
465465
fi

0 commit comments

Comments
 (0)