Fix completion function.
[ci skip]
This commit is contained in:
parent
c15740bf0c
commit
3b1c1dd78c
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ _dosage() {
|
|||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
|
||||
if type _optcomplete &> /dev/null; then
|
||||
_optcomplete "$@"
|
||||
if type _argcomplete &> /dev/null; then
|
||||
_argcomplete "$@"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue