You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change introduced at #21 does not work in the current version of zinit. As a result, the zinit-install.zsh script is not loaded when it should and the annex-readurl plugging does not work as the required .zinit-download-file-stdout function has not been loaded. This bug is not related to the OS, nor the term that you are using.
Steps to reproduce
Enable the zinit-annex-readurl plugin
Try to download the terraform command by using the snippet in the official documentation
You will get the following message
za-readurl-preinit-handler:108: command not found: .zinit-download-file-stdout
Terraform is not downloaded
Expected behavior
There should not be any error message and terraform should be downloaded.
lhernanz
changed the title
[bug]: Comparion introduced in #21 does not work in current version of zinit
[bug]: Comparison introduced in #21 does not work in current version of zinit
Jun 26, 2024
Describe the bug
The change introduced at #21 does not work in the current version of zinit. As a result, the
zinit-install.zsh
script is not loaded when it should and the annex-readurl plugging does not work as the required.zinit-download-file-stdout
function has not been loaded. This bug is not related to the OS, nor the term that you are using.Steps to reproduce
Expected behavior
There should not be any error message and terraform should be downloaded.
Screenshots and recordings
No response
Operating System & Version
linux-gnu | ubuntu | x86_64 | x86_64 | x86_64 x86_64
Zsh version
zsh 5.8.1
Terminal emulator
xterm-kitty
If using WSL on Windows, which version of WSL
None
Additional context
This comparison shows up several times in the zinit code. The right version of the code seems to be the following:
(( ${+functions[.zinit-setup-plugin-dir]} )) || builtin source ${ZINIT[BIN_DIR]}"/zinit-install.zsh"
The text was updated successfully, but these errors were encountered: