2022-09-29 22:29:13 +00:00
|
|
|
[[ -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 \
|
|
|
|
) \
|
2022-10-23 22:10:30 +00:00
|
|
|
&& complete -F _complete_alias czs \
|
|
|
|
&& complete -F _complete_alias czg \
|
|
|
|
&& complete -F _complete_alias czgs
|