dotfiles/home/.bash_completion.d/ykman

13 lines
252 B
Text
Raw Permalink Normal View History

2020-04-20 21:43:40 +02:00
if type ykman > /dev/null 2>&1; then
_ykman_completion() {
local IFS=$'
'
COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
COMP_CWORD=$COMP_CWORD \
_YKMAN_COMPLETE=complete $1 ) )
return 0
}
2021-08-26 10:40:51 +02:00
complete -F _ykman_completion ykman
2020-04-20 21:43:40 +02:00
fi