mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-10-30 06:59:08 +00:00 
			
		
		
		
	[Fix #4] Add zsh-syntax-highlighting
This commit is contained in:
		
							
								
								
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							| @@ -4,3 +4,6 @@ | ||||
| [submodule "plugins/history-substring-search/external"] | ||||
| 	path = plugins/history-substring-search/external | ||||
| 	url = https://github.com/zsh-users/zsh-history-substring-search.git | ||||
| [submodule "plugins/syntax-highlighting/external"] | ||||
| 	path = plugins/syntax-highlighting/external | ||||
| 	url = https://github.com/zsh-users/zsh-syntax-highlighting.git | ||||
|   | ||||
							
								
								
									
										1
									
								
								plugins/syntax-highlighting/external
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								plugins/syntax-highlighting/external
									
									
									
									
									
										Submodule
									
								
							 Submodule plugins/syntax-highlighting/external added at bb0d575942
									
								
							
							
								
								
									
										12
									
								
								plugins/syntax-highlighting/init.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								plugins/syntax-highlighting/init.zsh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| # | ||||
| # Integrates zsh-syntax-highlighting into Oh My Zsh. | ||||
| # | ||||
| # Authors: | ||||
| #   Sorin Ionescu <sorin.ionescu@gmail.com> | ||||
| # | ||||
|  | ||||
| if zstyle -t ':omz:plugin:syntax-highlighting' color; then | ||||
|   source "${0:h}/external/zsh-syntax-highlighting.zsh" | ||||
|   ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor) | ||||
| fi | ||||
|  | ||||
		Reference in New Issue
	
	Block a user