mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-03-04 13:25:00 +08:00
Followup to previous: Extend the 'alias' test.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user