slpkg/conf/slpkg.bash-completion
2022-06-02 01:45:54 +03:00

14 lines
356 B
Text

_slpkg()
{
local cur
cur=${COMP_WORDS[COMP_CWORD]}
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W "--blacklist --queue --list --check --sync --tracking --print --FIND --find --installpkg --upgradepkg --removepkg --display" -- $cur ))
else
_filedir
fi
}
complete -F _slpkg slpkg