Do not prompt for applying a chezmoi diff on auto-update if there is nothing to change

This commit is contained in:
Tony Blyler 2022-05-09 11:43:21 -04:00
parent cb16297268
commit 93a1fcebee

View file

@ -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