notification for pending updates

This commit is contained in:
Nicole O'Connor 2020-04-19 12:27:49 -07:00
parent 5c7e72c07e
commit 7c93e158a9
1 changed files with 3 additions and 1 deletions

View File

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