From bc14813bbb9ccf247646ac660a0539ad1cc64434 Mon Sep 17 00:00:00 2001 From: Nicole O'Connor Date: Tue, 2 Jul 2024 19:03:13 -0700 Subject: [PATCH] fix updates checking for md5sum (instead of cmp) before comparing zshrc for updates --- base/updates.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/updates.zsh b/base/updates.zsh index cac47fb..9578a09 100644 --- a/base/updates.zsh +++ b/base/updates.zsh @@ -10,7 +10,7 @@ function zeesh_update () { _zshrc_updates_pending=0 - if type md5sum &> /dev/null; then + if type cmp &> /dev/null; then cmp -s ~/.zshrc ~/.local/share/zeesh/zshrc-stub if [[ $? -eq 1 ]]; then cp ~/.local/share/zeesh/zshrc-stub ~/.zshrc