Integration-test output on zsh startup when using with zinit
HaleTom opened this issue · 1 comments
HaleTom commented
Describe the bug
Error or zsh load using zinit
install instructions
To Reproduce
Add to .zshrc
:
zinit ice lucit wait"0" as"program" from"gh-r" pick"bit"
zinit light "chriswalz/bit"
When starting zsh
in a directory which is not a git repository, I see:
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
integration-test-10362
If starting zsh
inside a git repository, it seems to run a git status
:
On branch test
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: ../foo
new file: foo
integration-test-26035
Expected behavior
No output whatsoever
Desktop (please complete the following information):
- OS: Manjaro Linux
- Terminal: xfce4
- Shell: zsh
TJuberg commented
Looks to be a typo in the install instructions
zinit ice lucit wait"0" as"program" from"gh-r" pick"bit"
zinit light "chriswalz/bit"
Should likely be
zinit ice lucid wait"0" as"program" from"gh-r" pick"bit"
zinit light "chriswalz/bit"
https://github.com/zdharma/zinit#plugin-output
lucit is not a valid ice modifier
Can confirm that this prevents the output from appearing