10 lines
377 B
Plaintext
10 lines
377 B
Plaintext
[[ -n "$BASH_COMPLETION_EXIST" && -n $(which-command chezmoi) ]] \
|
|
&& source <( \
|
|
chezmoi completion bash \
|
|
| add-alias-to-bash-completion-code chezmoi cz czx \
|
|
| add-alias-to-bash-completion-code chezmoi czx \
|
|
) \
|
|
&& complete -F _complete_alias czs \
|
|
&& complete -F _complete_alias czg \
|
|
&& complete -F _complete_alias czgs
|