linkchecker/config/linkchecker-completion
2013-02-27 19:35:44 +01:00

20 lines
498 B
Text

# 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 linkchecker &&
_linkcheck() {
local cur prev
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]}
if type _argcomplete &> /dev/null; then
_argcomplete "$@"
else
_filedir
fi
return 0
}
[ "$have" ] && complete $filenames -F _linkcheck linkchecker