fix updates checking for md5sum (instead of cmp) before comparing zshrc for updates
This commit is contained in:
		@@ -10,7 +10,7 @@ function zeesh_update () {
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
        _zshrc_updates_pending=0
 | 
					        _zshrc_updates_pending=0
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
        if type md5sum &> /dev/null; then
 | 
					        if type cmp &> /dev/null; then
 | 
				
			||||||
                cmp -s ~/.zshrc ~/.local/share/zeesh/zshrc-stub
 | 
					                cmp -s ~/.zshrc ~/.local/share/zeesh/zshrc-stub
 | 
				
			||||||
                if [[ $? -eq 1 ]]; then
 | 
					                if [[ $? -eq 1 ]]; then
 | 
				
			||||||
                        cp ~/.local/share/zeesh/zshrc-stub ~/.zshrc
 | 
					                        cp ~/.local/share/zeesh/zshrc-stub ~/.zshrc
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user