Merge pull request #195 from oderwat/OSX-BashCompletion
Fix for the Bash completion on OSX.
This commit is contained in:
commit
08b58c78b9
1 changed files with 4 additions and 1 deletions
|
|
@ -5,7 +5,10 @@ _nimble()
|
||||||
local cur=${COMP_WORDS[COMP_CWORD]}
|
local cur=${COMP_WORDS[COMP_CWORD]}
|
||||||
local prev=${COMP_WORDS[COMP_CWORD-1]}
|
local prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
_init_completion || return
|
|
||||||
|
if declare -F _init_completions >/dev/null 2>&1; then
|
||||||
|
_init_completion || return
|
||||||
|
fi
|
||||||
|
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
init|update|refresh|publish|search|build)
|
init|update|refresh|publish|search|build)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue