Closed Kritiqual closed 1 year ago
Hi @Kritiqual :wave:
I was able to reproduce the issue on the system where zsh-users/zsh-completions
was available on the disk (installed), then re-tried to produce the case with a clean install (rm -rf ~/.zi; exec zsh -il
), but this time unsuccessfully, and after trying multiple times/methods wasn't able to reproduce the issue.
rm -rf ~/.local/zi
in my case), the issue cannot be reproduce.zi creinstall -q ..
(notice the ..
at the end, not .
like original)Great that the solution was so simple :tada: :dart: However a bit confused about how I was able to reproduce your issue once :hear_no_evil: Thank you for the confirmation! :handshake:
Yeah, the issue only happen when the plugin is previously installed. Perhaps you can consider making that change into the source, but maybe some more test is needed, idk
This issue was closed because it has been stalled for 5 days with no activity.
Environment
OSTYPE=linux-gnu CPUTYPE=x86_64 / MACHINE_TYPE=x86_64 ZSH_VERSION=5.9
Expected behavior
When install the first time, completions file will be installed like this:
And I expect this still remain after
zi update --all
Current behavior
For comparison:
_afew -> ~/.local/zi/plugins/zsh-users---zsh-completions/src/_afew _android -> ~/.local/zi/plugins/zsh-users---zsh-completions/src/_android _archlinux-java -> ~/.local/zi/plugins/zsh-users---zsh-completions/src/_archlinux-java
$ ls ~/.local/zi/completions
_afew -> ./src/_afew _android -> ./src/_android _archlinux-java -> ./src/_archlinux-java
Step 2: Update with
or
Step 3: Broken symlink [2]
Code snippet
I just pust above install command to .zshrc
Aditional information
None
Self-service
Have you read the Contributing Guidelines?
Are you familiar with Contributor Covenant Code of Conduct?
Contact Details
No response