slpkg/conf/slpkg.bash-completion

15 lines
385 B
Text
Raw Normal View History

2015-03-01 13:57:00 +02:00
_slpkg()
{
local cur
cur=${COMP_WORDS[COMP_CWORD]}
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W "--autobuild --blacklist --queue --list --check --sync --tracking --print --network --FIND --find --install --install-new --reinstall --remove --display" -- $cur ))
2015-03-01 13:57:00 +02:00
else
_filedir
fi
}
complete -F _slpkg slpkg