From 0c68dba8de38ce575496af27f3b5aaa783cdd2f1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 24 Jan 2018 00:57:03 -0500 Subject: [PATCH] shell/fzf/bin/fzf-apps: exit instead --- shell/fzf/bin/fzf-apps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/fzf/bin/fzf-apps b/shell/fzf/bin/fzf-apps index a3078a45..1740f791 100755 --- a/shell/fzf/bin/fzf-apps +++ b/shell/fzf/bin/fzf-apps @@ -13,7 +13,7 @@ case $OSTYPE in linux*) cmd=$(echo -n "$PATH" | xargs -d: -I{} -r -- find -L {} -maxdepth 1 -mindepth 1 -type f -executable -printf '%P\n' 2>/dev/null | sort -u | fzf) if [[ -z $cmd ]]; then - return + exit elif [[ $cmd == fzf-* ]]; then $cmd elif ! command -v lnch >/dev/null; then