zshrc: untested fresh install support
This commit is contained in:
		
							parent
							
								
									e7e4f79135
								
							
						
					
					
						commit
						d596c467a5
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,12 @@
 | 
			
		|||
if [[ -z "~/.zsh" ]]; then
 | 
			
		||||
  mkdir -p ~/.zsh
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
fpath=(~/.zsh $fpath)
 | 
			
		||||
 | 
			
		||||
if [[ -z "~/.zsh/gitstatus" ]]; then
 | 
			
		||||
  git clone --depth=1 https://github.com/romkatv/gitstatus.git ~/.zsh/gitstatus
 | 
			
		||||
fi
 | 
			
		||||
source ~/.zsh/gitstatus/gitstatus.plugin.zsh
 | 
			
		||||
 | 
			
		||||
# Lines configured by zsh-newuser-install
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue