Updates .zsh_profile to add syntax highlighting
This commit is contained in:
		
							parent
							
								
									b0d017e15c
								
							
						
					
					
						commit
						a8b8bf3716
					
				
					 1 changed files with 12 additions and 2 deletions
				
			
		
							
								
								
									
										14
									
								
								.zsh_profile
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								.zsh_profile
									
										
									
									
									
								
							| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
 | 
					export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:$PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "Welcome back, William"
 | 
					echo "Welcome back, William"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,7 +28,9 @@ functon npms() {
 | 
				
			||||||
bindkey "^R" history-incremental-search-backward
 | 
					bindkey "^R" history-incremental-search-backward
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# export docker env variables
 | 
					# export docker env variables
 | 
				
			||||||
eval "$(docker-machine env default)"
 | 
					# re-enable this line when using docker otherwise you will receive
 | 
				
			||||||
 | 
					# a TLS error since docker-machine won't be running
 | 
				
			||||||
 | 
					# eval "$(docker-machine env default)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# custom js functions
 | 
					# custom js functions
 | 
				
			||||||
source ~/.js_to_bash.sh
 | 
					source ~/.js_to_bash.sh
 | 
				
			||||||
| 
						 | 
					@ -47,3 +49,11 @@ function lorem {
 | 
				
			||||||
function loremcp {
 | 
					function loremcp {
 | 
				
			||||||
    lorem | pbcopy
 | 
					    lorem | pbcopy
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# run cmatrix command for 3 seconds before exiting
 | 
				
			||||||
 | 
					#. $HOME/.matrix_intro.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# syntax highlighting for CLI; if not installed, run the following command
 | 
				
			||||||
 | 
					# brew install zsh-syntax-highlighting
 | 
				
			||||||
 | 
					source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue