mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-01-30 09:47:13 +08:00
Followup to previous: Extend the 'alias' test.
This commit is contained in:
parent
81c8d78d12
commit
f7cb4741d6
@ -30,6 +30,7 @@
|
||||
|
||||
alias alias1="unused expansion"
|
||||
alias -s alias2="echo"
|
||||
alias1() {} # to check that it's highlighted as an alias, not as a function
|
||||
|
||||
ZSH_HIGHLIGHT_STYLES[alias]=$unused_highlight
|
||||
BUFFER='x.alias2; alias1'
|
||||
|
Loading…
Reference in New Issue
Block a user