dctlenv/completions/dctlenv.bash

12 lines
239 B
Bash
Raw Normal View History

2021-01-25 22:39:27 +00:00
# bash completion for dctlenv
_dctlenv() {
if [ "${#COMP_WORDS[@]}" != "2" ]; then
return
fi
COMPREPLY=($(compgen -W "help install list list-remote uninstall use version" -- "${COMP_WORDS[1]}"))
}
complete -F _dctlenv dctlenv