From b53b7ce0a34e8bb6ff887cc41320b93b95a214dd Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Mon, 16 May 2022 09:29:40 -0400 Subject: [PATCH] Add better messaging when doing a Chezmoi update --- chezmoi/dot_zshrc.d/executable_chezmoi.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chezmoi/dot_zshrc.d/executable_chezmoi.zsh b/chezmoi/dot_zshrc.d/executable_chezmoi.zsh index 6ecc9df..468ae67 100644 --- a/chezmoi/dot_zshrc.d/executable_chezmoi.zsh +++ b/chezmoi/dot_zshrc.d/executable_chezmoi.zsh @@ -29,8 +29,10 @@ exit 0 fi - chezmoi git pull -- --rebase + echo 'Checking if Chezmoi has updates...' + chezmoi git pull -- --rebase > /dev/null if [ "$(chezmoi status)" = "" ]; then + echo 'nope! Good bye!' # there is nothing different between chezmoi and what is # applied to this machine exit 0