slpkg/conf/slpkg.bash-completion
Dimitris Zlatanidis 2003c05dcc Update completions
2015-06-09 17:44:49 +03:00

14 lines
381 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 --install --upgrade --reinstall --remove --display" -- $cur ))
else
_filedir
fi
}
complete -F _slpkg slpkg