mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
driver: Stop requiring function_argzero.
Instead, use the %N prompt expando, as suggested by Bart in users/21637. Avoid the `print -P %N` syntax to save a fork on Cygwin, at the expense of not supporting zsh's from 2001 through c. 2004 vintages. Fixes #338.
This commit is contained in:
parent
d9e07b5082
commit
750aebc553
2 changed files with 4 additions and 7 deletions
|
|
@ -1 +1,2 @@
|
|||
0=${(%):-%N}
|
||||
source ${0:A:h}/zsh-syntax-highlighting.zsh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue