Add better messaging when doing a Chezmoi update
This commit is contained in:
parent
8629c26d9c
commit
b53b7ce0a3
1 changed files with 3 additions and 1 deletions
|
@ -29,8 +29,10 @@
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chezmoi git pull -- --rebase
|
echo 'Checking if Chezmoi has updates...'
|
||||||
|
chezmoi git pull -- --rebase > /dev/null
|
||||||
if [ "$(chezmoi status)" = "" ]; then
|
if [ "$(chezmoi status)" = "" ]; then
|
||||||
|
echo 'nope! Good bye!'
|
||||||
# there is nothing different between chezmoi and what is
|
# there is nothing different between chezmoi and what is
|
||||||
# applied to this machine
|
# applied to this machine
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue