[[ -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 \ ) \ echo done. # && if [[ $(type -t compopt) = "builtin" ]]; then # complete -o default -F __git_complete czg # else # complete -o default -o nospace -F __git_complete czg # fi