Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration-test output on zsh startup when using with zinit #59

Open
HaleTom opened this issue Oct 20, 2020 · 1 comment
Open

Integration-test output on zsh startup when using with zinit #59

HaleTom opened this issue Oct 20, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@HaleTom
Copy link

HaleTom commented Oct 20, 2020

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
@HaleTom HaleTom added the bug Something isn't working label Oct 20, 2020
@TJuberg
Copy link

TJuberg commented Apr 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants