From 9d336b77fa8d9f4b3de1c8fedea8f1137db821ba Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 9 Dec 2019 02:37:34 +0530 Subject: Disable shellcheck warning SC2086 --- plugins/launch | 5 ++--- 1 file 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 -- cgit v1.2.3-70-g09d2