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

[bug]: Not automatically delete $ZPFX/bin files #13

Closed
karbobc opened this issue Sep 11, 2022 · 4 comments · Fixed by zdharma-continuum/zinit#612
Closed

[bug]: Not automatically delete $ZPFX/bin files #13

karbobc opened this issue Sep 11, 2022 · 4 comments · Fixed by zdharma-continuum/zinit#612
Labels
bug Something isn't working

Comments

@karbobc
Copy link

karbobc commented Sep 11, 2022

Describe the bug

Not automatically delete $ZPFX/bin files when using zinit delete --all to delete all the installed plugins

Steps to reproduce

  1. install exa plugin
zinit ice wait lucid id-as nocompile \
  from="gh-r" \
  sbin="bin/exa -> exa" \
  atclone="cp -vf completions/exa.zsh _exa_completion && ln -sfv \$PWD/man/exa.1 $ZINIT[MAN_DIR]/man1" \
  atpull="%atclone" 
  if="(( ! ${+commands[exa]} ))"
zinit light ogham/exa
  1. delete all the plugins included exa
zinit delete --all

Expected behavior

bin-gem-node annex: Correctly removed the exa shim from $ZPFX/bin

Screenshots and recordings

No response

Operating System & Version

linux-gnu | | x86_64-pc-linux-gnu | | x86_64 x86_64

Zsh version

zsh 5.8 (x86_64-ubuntu-linux-gnu)

Terminal emulator

xterm-256color

If using WSL on Windows, which version of WSL

No response

Additional context

No response

@karbobc karbobc added the bug Something isn't working label Sep 11, 2022
@karbobc karbobc changed the title [bug]: [bug]: Not automatically delete $ZPFX/bin files Sep 11, 2022
@vladdoster
Copy link
Member

@karbobc,

This has been fixed.

Screenshot 2023-11-30 at 19 03 11

@karbobc
Copy link
Author

karbobc commented Dec 1, 2023

@vladdoster,

Use zi delete --all --yes instead of zi delete exa --yes.

@vladdoster
Copy link
Member

@karbobc,

Fixed in zdharma-continuum/zinit#612

Screenshot 2023-12-24 at 08 47 49

@karbobc
Copy link
Author

karbobc commented Jan 18, 2024

Thank you for fixing this issue!

@karbobc karbobc closed this as completed Jan 18, 2024
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

Successfully merging a pull request may close this issue.

2 participants