From 7c93e158a98e7b658af66bb33b3139f13636762c Mon Sep 17 00:00:00 2001 From: Nicole O'Connor Date: Sun, 19 Apr 2020 12:27:49 -0700 Subject: [PATCH] notification for pending updates --- zshrc-stub | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zshrc-stub b/zshrc-stub index 0aa6087..51d18e7 100644 --- a/zshrc-stub +++ b/zshrc-stub @@ -12,7 +12,9 @@ if type md5sum &> /dev/null; then new_stub_sum="$(md5sum ~/.local/share/zeesh/zshrc-stub | awk '{ print $1 }')" if [[ ! current_stub_sum == new_stub_sum ]]; then - cp ~/.local/share/zshrc-stub ~/.zshrc + cp ~/.local/share/zeesh/zshrc-stub ~/.zshrc _zshrc_updates_pending=1 fi fi + +[[ _zshrc_updates_pending -eq 1 ]] && printf "zeesh: updates pending\n"