Added hashed commands highlighting to zsh-syntax-highlighting oh-my-zsh plugin.
This commit is contained in:
		
							parent
							
								
									c419c14121
								
							
						
					
					
						commit
						5b20238ae5
					
				| 
						 | 
					@ -171,6 +171,7 @@ _zsh_highlight-zle-buffer() {
 | 
				
			||||||
        *': builtin')   style=$ZSH_HIGHLIGHT_STYLES[builtin];;
 | 
					        *': builtin')   style=$ZSH_HIGHLIGHT_STYLES[builtin];;
 | 
				
			||||||
        *': function')  style=$ZSH_HIGHLIGHT_STYLES[function];;
 | 
					        *': function')  style=$ZSH_HIGHLIGHT_STYLES[function];;
 | 
				
			||||||
        *': command')   style=$ZSH_HIGHLIGHT_STYLES[command];;
 | 
					        *': command')   style=$ZSH_HIGHLIGHT_STYLES[command];;
 | 
				
			||||||
 | 
					        *': hashed')   style=$ZSH_HIGHLIGHT_STYLES[command];;
 | 
				
			||||||
        *)              if _zsh_check-path; then
 | 
					        *)              if _zsh_check-path; then
 | 
				
			||||||
                          style=$ZSH_HIGHLIGHT_STYLES[path]
 | 
					                          style=$ZSH_HIGHLIGHT_STYLES[path]
 | 
				
			||||||
                        elif [[ $arg[0,1] = $histchars[0,1] ]]; then
 | 
					                        elif [[ $arg[0,1] = $histchars[0,1] ]]; then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue