Debian Codegraph @

misc/dzil-bash_completion

raw
1 # dzil(1) completion
2 #
3
4 _dzil_actions()
5 {
6 COMPREPLY=( $( compgen -W 'commands help authordeps build clean install listdeps new nop release run setup smoke test' \
7 -- $cur ) )
8 }
9
10 _dzil()
11 {
12 local cur
13
14 COMPREPLY=()
15 cur=${COMP_WORDS[COMP_CWORD]}
16
17 if [[ $COMP_CWORD -eq 1 ]] ; then
18 _dzil_actions
19 else
20 return 0
21 fi
22 }
23 complete -F _dzil dzil