slpkg/conf/slpkg.bash-completion
Dimitris Zlatanidis 244b88df4e Update completions
2015-06-13 17:08:55 +03:00

14 lines
378 B
Text

_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 --installpkg --upgradepkg --removepkg --display" -- $cur ))
else
_filedir
fi
}
complete -F _slpkg slpkg