fix updates checking for md5sum (instead of cmp) before comparing zshrc for updates
This commit is contained in:
parent
96c7934a83
commit
bc14813bbb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user