Comments (6)
Will fix this soon.
In the meantime, to silence it, append the following snippet:
2>&1 > /dev/null
Example:
from zinit.
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
from zinit.
Could you elaborate on why you are running creinstall
in your zshrc
?
from zinit.
@vladdoster I tested fix/creinstall-command
. I get the following error printed at the top of my terminal when the command is zinit creinstall -Q $ZINIT_HOME/completions
:
No such (plugin or snippet): -Q.
and using -q
, I get the following error:
No such (plugin or snippet): %HOME/.local/share/zinit/zinit.git/completions.
This line works as expected on main
.
Anyways, silencing by piping output to /dev/null
works (but is messy).
The reason I'm running creinstall
is to get a custom completion I'm adding to be recognized:
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
from zinit.
Sorry for the delay. I tested fix/creinstall
creinstall -q
or creinstall -Q
prints ==> Skipped re-installing 1 completion
.
So that is not fixed there.
The reason I use creinstall
in .zshrc
is the same as @alichtman.
from zinit.
I have the same problem.
I'm using poetry and kubectl completion from OMZP. I have to creinstall to add theses completions.
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
from zinit.
Related Issues (20)
- [bug]: Unknown subcommand: `--help` HOT 4
- [bug]: Often get database is locked HOT 3
- [bug]: zinit update does not pull stable release from GitHub releases HOT 3
- [bug]: zinit self-update fails with a git error due to conflicting branches HOT 2
- [bug]: `zinit update --parallel` leaves some zombie background process HOT 1
- [maint]: Re-add `--no-pager` option to `zinit self-update` HOT 1
- [bug]: Loading completion with `wait` doesn't work
- [bug]: Cannot load zsh-edit
- [bug]: multiple issues with new `make` ice
- [bug]: Error when using tab selection for auto-completion under `nvm use` command HOT 4
- [feat]: Allow specifying parts of a version HOT 1
- [bug]: compinit:527: no such file or directory: ~/.local/share/zinit/completions/_nvm HOT 3
- [bug]: kubectl not loading when zinit snippet OMZP::kubectl HOT 1
- [feat]: gitea support
- [bug]: compdef is not defined after loading zinit HOT 1
- [bug]: Some of snippets don't load unless .zshrc source manually
- [bug]: Picks wrong atuin binary HOT 1
- [bug]: Github has dropped SVN Support HOT 2
- [bug]: docker compose completion does not work
- [maint]: missing lib function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zinit.