mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-03-04 13:25:00 +08:00
The bug is as follows:
% zsh-5.8 -fc 'autoload is-at-least; is-at-least 5.8.0.2 && echo yes || echo no'
yes
% zsh-5.8 -fc 'autoload is-at-least; is-at-least 5.8.0.2 $ZSH_VERSION && echo yes || echo no'
yes
This commit deploys the following workaround:
% zsh-5.8 -fc 'autoload is-at-least; is-at-least 5.8.0.2 $ZSH_VERSION.0.0 && echo yes || echo no'
no
Fixes #756.
24 KiB
24 KiB