-
Notifications
You must be signed in to change notification settings - Fork 128
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 update breaks atclone file generation #172
Comments
This shall be the same bug as in #147 |
For me For example trying to add zi wait='1b' lucid light-mode for \
id-as="stripe/completion" \
as="completion" \
has='stripe' \
atclone="stripe completion --shell zsh" \
mv="stripe-completion* -> _stripe" \
atpull="%atclone" \
blockf zdharma-continuum/null The |
I had the same issue for completion with atclone atpull and I found a workaround:
Maybe it'll help someone. |
You're overcomplicating things, look at zi for \
as'completion' \
atpull'%atclone' \
blockf \
from'gh-r' \
nocompile \
atclone"./stripe completion --shell zsh --write-to-stdout > _stripe" \
sbin'stripe' \
stripe/stripe-cli Installing completion and An added benefit is it also installs the ~/.local/share/zsh/zinit/plugins
ᐳ zi delete stripe/stripe-cli -y; exec zsh; zi report stripe/stripe-cli
bin-gem-node annex: Correctly removed the stripe shim from $ZPFX/bin
Done (action executed, exit code: 0)
Downloading stripe/stripe-cli…
(Requesting `stripe_1.8.1_linux_x86_64.tar.gz'…)
################################################################################################################################################################### 100.0%
ziextract: Unpacking the files from: `stripe_1.8.1_linux_x86_64.tar.gz'…
ziextract: Successfully extracted and assigned +x chmod to the file: `stripe'.
bin-gem-node annex: Created the stripe shim and set +x on the stripe binary
Installed 1 completions. They are stored in the $INSTALLED_COMPS array.
~/.local/share/zsh/zinit/plugins
ᐳ zi report stripe/stripe-cli
Report for stripe/stripe-cli plugin
-----------------------------------
Completions:
_stripe [enabled]
~/.local/share/zsh/zinit/plugins |
Issue description
I run
zinit update
and this breaks my starship setup as it seems the atclone stanza is not rerun after updating the program:After an update via
zsh -c "source ~/.zinit/bin/zinit.zsh && zinit update"
After
rm -rf .zinit/plugins/starship---starship/
and opening a new terminal tab:zinit config
zinit version or commit ID
789eb02
zsh version
5.8
host info
CPUTYPE=x86_64 MACHTYPE=x86_64 XDG_SESSION_TYPE=wayland OSTYPE=linux-gnu 5.15.0-2-amd64 ID=debian
The text was updated successfully, but these errors were encountered: