From: Arun Prakash Jana Date: Sun, 8 Dec 2019 21:07:34 +0000 (+0530) Subject: Disable shellcheck warning SC2086 X-Git-Tag: v2.9~202 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9d336b77fa8d9f4b3de1c8fedea8f1137db821ba;p=nnn.git Disable shellcheck warning SC2086 --- diff --git a/plugins/launch b/plugins/launch index 66b414e8..940a84ac 100755 --- a/plugins/launch +++ b/plugins/launch @@ -19,16 +19,15 @@ # Shell: POSIX compliant # Author: Arun Prakash Jana -# shellcheck disable=SC2012 # shellcheck disable=SC2086 IFS=':' get_selection() { if which fzf >/dev/null 2>&1; then - ls -H $PATH | sort | fzf + { IFS=:; ls -H $PATH; } | sort | fzy elif which fzy >/dev/null 2>&1; then - ls -H $PATH | sort | fzy + { IFS=:; ls -H $PATH; } | sort | fzy else exit 1 fi