diff options
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/preview-kitty | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/preview-kitty b/plugins/preview-kitty index 738411c..af51cee 100755 --- a/plugins/preview-kitty +++ b/plugins/preview-kitty @@ -63,7 +63,9 @@ if [ "$PREVIEW_MODE" ] ; then preview_file "$1" - exec < "$NNN_FIFO" + # use cat instead of 'exec <' to avoid issues with dash shell + # shellcheck disable=SC2002 + cat "$NNN_FIFO" |\ while read -r selection ; do preview_file "$selection" done |