if [[ -n "$(type -fP chezmoi)" ]]; then CHEZMOI_OUT="$(chezmoi status || true)x" [[ "x" != "$CHEZMOI_OUT" ]] && printf "\nChezmoi changes:\n" && echo "${CHEZMOI_OUT%?}" unset CHEZMOI_OUT fi