Do not prompt for applying a chezmoi diff on auto-update if there is nothing to change
This commit is contained in:
parent
cb16297268
commit
93a1fcebee
1 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,12 @@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chezmoi git pull -- --rebase
|
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
|
chezmoi diff
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
|
Loading…
Reference in a new issue