fix updates checking for md5sum (instead of cmp) before comparing zshrc for updates

This commit is contained in:
Nicole O'Connor 2024-07-02 19:03:13 -07:00
parent 96c7934a83
commit bc14813bbb

View File

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