mirror of https://git.envs.net/envs/burrow.git
15 lines
308 B
D
15 lines
308 B
D
|
_burrow()
|
||
|
{
|
||
|
local cur prev opts
|
||
|
COMPREPLY=()
|
||
|
cur="${COMP_WORDS[COMP_CWORD]}"
|
||
|
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||
|
opts="phlog recipe create-config update-git -v -h"
|
||
|
|
||
|
if [[ ${cur} == -* ]] ; then
|
||
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||
|
return 0
|
||
|
fi
|
||
|
}
|
||
|
complete -F _burrow burrow
|