Fix completion function.

[ci skip]
This commit is contained in:
Bastian Kleineidam 2013-02-27 20:54:56 +01:00
parent c15740bf0c
commit 3b1c1dd78c

View file

@ -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
}