Skip to content

Commit

Permalink
driver: Run it under zsh emulation.
Browse files Browse the repository at this point in the history
Fixes zsh-users#688, which see for other related issues.
  • Loading branch information
danielshahaf committed Apr 3, 2020
1 parent e2f559a commit dd32d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh-syntax-highlighting.zsh
Expand Up @@ -73,7 +73,7 @@ local -a zsh_highlight__argv; zsh_highlight__argv=( "$@" )
typeset -r zsyh_user_options

# The following parameter expansion is a functionargzero-resistant spelling of "${0:h}".
source "${${(%):-%N}:h}"/driver.zsh "$@"
emulate zsh -c 'source "${${(%):-%N}:h}"/driver.zsh "$@"'
}
unset zsh_highlight__argv

Expand Down

0 comments on commit dd32d03

Please sign in to comment.