diff --git a/chezmoi/dot_zshrc.d/executable_chezmoi.zsh b/chezmoi/dot_zshrc.d/executable_chezmoi.zsh index 92ac88c..92b3c83 100644 --- a/chezmoi/dot_zshrc.d/executable_chezmoi.zsh +++ b/chezmoi/dot_zshrc.d/executable_chezmoi.zsh @@ -30,6 +30,12 @@ fi chezmoi git pull -- --rebase + if [ "$(chezmoi status)" = "" ]; then + # there is nothing different between chezmoi and what is + # applied to this machine + exit 0 + fi + chezmoi diff while true; do