mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-19 07:20:26 +00:00
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3661 e7d03fd6-7b0d-0410-9947-9c21f3af8025
20 lines
498 B
Text
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 _optcomplete &> /dev/null; then
|
|
_optcomplete "$@"
|
|
else
|
|
_filedir
|
|
fi
|
|
return 0
|
|
}
|
|
[ "$have" ] && complete $filenames -F _linkcheck linkchecker
|