Fix for the Bash completion on OSX.
This commit is contained in:
parent
ac1714ffef
commit
2b5d2a9073
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue