mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-10-07 12:06:24 +00:00
driver: Be immune to 'alias' having been redefined.
This commit is contained in:
1 parent
76ea9e1df3
commit
8d5afe47f7
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user