update checks
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -1 +1,3 @@
 | 
			
		||||
*.swp
 | 
			
		||||
 | 
			
		||||
pull.log
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										9
									
								
								base/updates.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								base/updates.zsh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
if type git &> /dev/null; then
 | 
			
		||||
    ticker_message "zeesh: pulling from git" # TODO: less frequently, and background
 | 
			
		||||
    start_dir="$(pwd)"
 | 
			
		||||
 | 
			
		||||
    cd ~/.local/share/zeesh
 | 
			
		||||
    git pull &> ~/.local/share/zeesh/pull.log
 | 
			
		||||
 | 
			
		||||
    cd "${start_dir}"
 | 
			
		||||
fi
 | 
			
		||||
		Reference in New Issue
	
	Block a user