This commit is contained in:
Romain Bignon 2010-07-28 16:52:38 +02:00
commit b76a2184bb
2 changed files with 3 additions and 4 deletions

View file

@ -20,11 +20,11 @@
# This script can be distributed under the same license as the
# weboob or bash packages.
have weboobcfg &&
have weboob-config &&
_weboob()
{
local cur words
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
words="$(${COMP_WORDS[0]} --shell-completion)"
@ -39,7 +39,7 @@ _weboob()
}
[ "$have" ] || return
weboob_applications=$(weboobcfg applications)
weboob_applications=$(weboob-config applications)
for application in $weboob_applications
do
complete -F _weboob $application