Added hashed commands highlighting to zsh-syntax-highlighting oh-my-zsh plugin.
This commit is contained in:
parent
06d67990d9
commit
a7746077bf
|
@ -130,6 +130,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
Block a user