dosage/doc/dosage-completion

19 lines
445 B
Text
Raw Permalink Normal View History

2012-12-12 16:41:29 +00:00
# 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]}
2013-02-27 19:54:56 +00:00
if type _argcomplete &> /dev/null; then
_argcomplete "$@"
2012-12-12 16:41:29 +00:00
fi
return 0
}
[ "$have" ] && complete -F _dosage dosage