nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9a128f133f2f4191b4ab1458edc93a363436d188
parent 7b117518211571cf8bf27b04b0c4f5f7a09699f4
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon,  3 Feb 2025 22:20:51 +0530

Merge pull request #1990 from psicho2000/fix/use-command-flags

fix: enable flags for NNN_PREVIEWIMGPROG
Diffstat:
Mplugins/preview-tui | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/preview-tui b/plugins/preview-tui @@ -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