mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
driver: use 'emulate -L zsh' like highlighters do.
This commit is contained in:
parent
c53b078c89
commit
c487ad4649
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ local zsh_highlight__aliases="`builtin alias -Lm '[^+]*'`"
|
|||
# Hence, we exclude them from unaliasing:
|
||||
builtin unalias -m '[^+]*'
|
||||
|
||||
emulate -L zsh
|
||||
setopt localoptions warncreateglobal
|
||||
|
||||
# Set $0 to the expected value, regardless of functionargzero.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue