slpkg/conf/slpkg.bash-completion
Dimitris Zlatanidis 730a30da2e Update completions
2015-06-04 04:38:43 +03:00

14 lines
426 B
Text

_slpkg()
{
local cur
cur=${COMP_WORDS[COMP_CWORD]}
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W "--help --version update upgrade repo-add repo-remove repo-list repo-info slpkg list --add --remove build install build-install config --index --installed --upgrade --color --skip --resolve-off" -- $cur ))
else
_filedir
fi
}
complete -F _slpkg slpkg