Add python bin dirs on macOS to PATH.
							parent
							
								
									003a0bca3e
								
							
						
					
					
						commit
						f65628a828
					
				| 
						 | 
				
			
			@ -45,6 +45,18 @@ log() {
 | 
			
		|||
	fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# Bin directories
 | 
			
		||||
section "python bin"
 | 
			
		||||
if [ -d "$HOME/Library/Python/3.7" ]; then
 | 
			
		||||
	PATH="$HOME/Library/Python/3.7/bin:$PATH"
 | 
			
		||||
	export PATH
 | 
			
		||||
fi
 | 
			
		||||
if [ -d "$HOME/Library/Python/2.7" ]; then
 | 
			
		||||
	PATH="$HOME/Library/Python/2.7/bin:$PATH"
 | 
			
		||||
	export PATH
 | 
			
		||||
fi
 | 
			
		||||
section_end
 | 
			
		||||
 | 
			
		||||
# Powerline
 | 
			
		||||
section "powerline"
 | 
			
		||||
if [ $ZSH_POWERLINE -gt 0 ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue