diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-09 02:37:34 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-12-09 02:37:55 +0530 |
commit | 9d336b77fa8d9f4b3de1c8fedea8f1137db821ba (patch) | |
tree | b301df3c45ff67ec6334a3377469e060d185a046 | |
parent | 819bddaac97a56e3b4b35c7b804bf37460866ef4 (diff) | |
download | nnn-9d336b77fa8d9f4b3de1c8fedea8f1137db821ba.tar.gz |
Disable shellcheck warning SC2086
-rwxr-xr-x | plugins/launch | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/launch b/plugins/launch index 66b414e..940a84a 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 |