Debian Codegraph @

doc/dosage-completion

raw
1 # Install this file into directory /etc/bash_completion.d/ on a
2 # Debian Linux system. For other system read the documentation that
3 # comes with the bash-completion package.
4
5 have dosage &&
6 _dosage() {
7 local cur prev
8
9 COMPREPLY=()
10 cur=${COMP_WORDS[COMP_CWORD]}
11 prev=${COMP_WORDS[COMP_CWORD-1]}
12
13 if type _argcomplete &> /dev/null; then
14 _argcomplete "$@"
15 fi
16 return 0
17 }
18 [ "$have" ] && complete -F _dosage dosage