mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Disable shellcheck warning SC2086
This commit is contained in:
parent
819bddaac9
commit
9d336b77fa
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue