Closed glyh closed 2 years ago
When first run on .zshrc, it installs some packages and show this error message:
za-patch-dl-handler:78: bad floating point constant
Use this zshrc:
### Added by Zinit's installer if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f" command mkdir -p "$HOME/.local/share/zinit" && command chmod g-rwX "$HOME/.local/share/zinit" command git clone https://github.com/zdharma-continuum/zinit "$HOME/.local/share/zinit/zinit.git" && \ print -P "%F{33} %F{34}Installation successful.%f%b" || \ print -P "%F{160} The clone has failed.%f%b" fi source "$HOME/.local/share/zinit/zinit.git/zinit.zsh" autoload -Uz _zinit (( ${+_comps} )) && _comps[zinit]=_zinit # Load a few important annexes, without Turbo # (this is currently required for annexes) zinit light-mode for \ zdharma-continuum/zinit-annex-as-monitor \ zdharma-continuum/zinit-annex-bin-gem-node \ zdharma-continuum/zinit-annex-patch-dl \ zdharma-continuum/zinit-annex-rust ### End of Zinit's installer chunk zinit pack"binary+keys" for fzf
No error message
linux-gnu | pc | x86_64 | x86_64 | x86_64 unknown
zsh 5.9 (x86_64-pc-linux-gnu)
alacritty
No response
Pretty sure the fix for this is in the following PR: #4
Describe the bug
When first run on .zshrc, it installs some packages and show this error message:
Steps to reproduce
Use this zshrc:
Expected behavior
No error message
Screenshots and recordings
Operating System & Version
linux-gnu | pc | x86_64 | x86_64 | x86_64 unknown
Zsh version
zsh 5.9 (x86_64-pc-linux-gnu)
Terminal emulator
alacritty
If using WSL on Windows, which version of WSL
No response
Additional context
No response