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
1 changed files with 2 additions and 3 deletions

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