mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-10-31 10:04:31 +00:00 
			
		
		
		
	main highlighter docs: README: Tweak.
This commit is contained in:
		
							parent
							
								
									4f5a0fe60b
								
							
						
					
					
						commit
						6d93ea07fd
					
				| @ -49,6 +49,9 @@ This highlighter defines the following styles: | ||||
| 
 | ||||
| To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`, for example in `~/.zshrc`: | ||||
| 
 | ||||
|     # Declare the variable | ||||
|     typeset -A ZSH_HIGHLIGHT_STYLES | ||||
| 
 | ||||
|     # To differentiate aliases from other command types | ||||
|     ZSH_HIGHLIGHT_STYLES[alias]='fg=magenta,bold' | ||||
|      | ||||
| @ -58,4 +61,5 @@ To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`, for | ||||
|     # To disable highlighting of globbing expressions | ||||
|     ZSH_HIGHLIGHT_STYLES[globbing]='none' | ||||
| 
 | ||||
| The syntax for declaring styles is [documented here](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). | ||||
| The syntax for declaring styles is documented in [the `zshzle(1)` manual | ||||
| page](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Shahaf
						Daniel Shahaf