Fix for the Bash completion on OSX.

This commit is contained in:
Hans Raaf 2016-01-11 01:44:30 +01:00
commit 2b5d2a9073

View file

@ -5,7 +5,10 @@ _nimble()
local cur=${COMP_WORDS[COMP_CWORD]}
local prev=${COMP_WORDS[COMP_CWORD-1]}
COMPREPLY=()
_init_completion || return
if declare -F _init_completions >/dev/null 2>&1; then
_init_completion || return
fi
case "$prev" in
init|update|refresh|publish|search|build)