-
Notifications
You must be signed in to change notification settings - Fork 129
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
[bug]: zinit creinstall -Q ...
or -q
is not quiet
#518
Comments
If you have time, please test the patch. To update your Zinit install with the patch, run: zinit self-update
cd "$ZINIT[BIN_DIR]"
git pull --all
git checkout fix/creinstall-command
cd -
exec zsh -il To go back to the main branch of Zinit, run: cd "$ZINIT[BIN_DIR]"
git checkout main
cd -
exec zsh -il |
Could you elaborate on why you are running |
@vladdoster I tested
and using
This line works as expected on Anyways, silencing by piping output to The reason I'm running rustup completions zsh cargo > "$ZINIT[HOME_DIR]/completions/_cargo"
# Install my custom completions
zinit creinstall -Q $ZINIT_HOME/completions 2>&1 > /dev/null This comes almost directly from the example in the README: # Handle completions without loading any plugin; see "clist" command.
# This one is to be ran just once, in interactive session.
zi creinstall %HOME/my_completions |
Sorry for the delay. I tested So that is not fixed there. The reason I use |
I have the same problem. This is related to #652 . I'm using the kubectl OMZP plugin. But the zsh file generate the completion file in $ZSH_CACHE_DIR/completions so I'm using creinstall |
What happened?
The documentation states that the
-q
or-Q
parameter forzinit creinstall
is quiet, but it prints==> Installed 1 completion
.This is annoying because I have put this command into the
zshrc
and thus it gets printed on every new shell.Sure this can be worked around with a
>/dev/null
, however, IIRC this happend only after a zinit update, so it might be a regression or unintended change.Steps to reproduce
v3.11.0
rustup completions zsh cargo > ".config/zsh/completions/_cargo"
zinit creinstall -Q ~/.config/zsh/completions
and expect no output.Relevant output
Screenshots and recordings
No response
Operating System & Version
OS: linux-gnu | Vendor: pc | Machine: x86_64 | CPU: x86_64 | Processor: unknown | Hardware: x86_64
Zsh version
zsh 5.9 (x86_64-pc-linux-gnu)
Terminal emulator
xterm-256color
If using WSL on Windows, which version of WSL
None
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: