Skip to content

Commit

Permalink
Merge pull request #1990 from psicho2000/fix/use-command-flags
Browse files Browse the repository at this point in the history
fix: enable flags for NNN_PREVIEWIMGPROG
  • Loading branch information
jarun authored Feb 3, 2025
2 parents 7b11751 + 3f34bbf commit 9a128f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/preview-tui
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ image_preview() {
elif exists ueberzug && [[ "$NNN_PREVIEWIMGPROG" == +(|ueberzug) ]]; then
ueberzug_layer "$1" "$2" "$3" && return
elif exists "${NNN_PREVIEWIMGPROG%% *}"; then # can include command flags; only check first word
"$NNN_PREVIEWIMGPROG" "$3" &
$NNN_PREVIEWIMGPROG "$3" &
else
fifo_pager print_bin_info "$3" && return
fi
Expand Down

0 comments on commit 9a128f1

Please sign in to comment.