Disable shellcheck warning SC2086

This commit is contained in:
Arun Prakash Jana 2019-12-09 02:37:34 +05:30
parent 819bddaac9
commit 9d336b77fa
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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