mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-01-30 09:47:13 +08:00
driver: Be immune to 'alias' having been redefined.
This commit is contained in:
parent
76ea9e1df3
commit
8d5afe47f7
@ -28,7 +28,7 @@
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
# First of all, ensure predictable parsing.
|
||||
zsh_highlight__aliases=`alias -L`
|
||||
zsh_highlight__aliases=`builtin alias -L`
|
||||
builtin unalias -m '*'
|
||||
|
||||
# Set $0 to the expected value, regardless of functionargzero.
|
||||
|
Loading…
Reference in New Issue
Block a user