mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
driver: Be immune to 'alias' having been redefined.
This commit is contained in:
parent
76ea9e1df3
commit
8d5afe47f7
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
# First of all, ensure predictable parsing.
|
# First of all, ensure predictable parsing.
|
||||||
zsh_highlight__aliases=`alias -L`
|
zsh_highlight__aliases=`builtin alias -L`
|
||||||
builtin unalias -m '*'
|
builtin unalias -m '*'
|
||||||
|
|
||||||
# Set $0 to the expected value, regardless of functionargzero.
|
# Set $0 to the expected value, regardless of functionargzero.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue