From 46906d76ca3ee1b2b54523338dd6b1a6eefea73a Mon Sep 17 00:00:00 2001 From: Gurkirat Singh Date: Sun, 10 Jan 2021 19:28:05 +0530 Subject: [PATCH] formatted jungle completion and used helper function --- completion/available/jungle.completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completion/available/jungle.completion.bash b/completion/available/jungle.completion.bash index 351da281..4b7e875f 100644 --- a/completion/available/jungle.completion.bash +++ b/completion/available/jungle.completion.bash @@ -1 +1 @@ -[[ -x "$(which jungle)" ]] && eval "$(_JUNGLE_COMPLETE=source jungle)" +if _command_exists jungle; then eval "$(_JUNGLE_COMPLETE=source jungle)"; fi