mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Expand aliases first. (Issue #264.)
This commit causes an alias to an invalid command to be highlighted as an error (unknown-token).
This commit is contained in:
parent
cf88b63523
commit
f3410c5862
5 changed files with 110 additions and 11 deletions
|
|
@ -27,7 +27,7 @@
|
|||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
alias a=A
|
||||
alias a=:
|
||||
f() {}
|
||||
|
||||
BUFFER='a;f;'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue