File: dosage-completion

package info (click to toggle)
dosage 3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,400 kB
  • sloc: python: 12,703; sh: 55; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Install this file into directory /etc/bash_completion.d/ on a
# Debian Linux system. For other system read the documentation that
# comes with the bash-completion package.

have dosage &&
_dosage() {
    local cur prev

    COMPREPLY=()
    cur=${COMP_WORDS[COMP_CWORD]}
    prev=${COMP_WORDS[COMP_CWORD-1]}

    if type _argcomplete &> /dev/null; then
        _argcomplete "$@"
    fi
    return 0
}
[ "$have" ] && complete -F _dosage dosage