You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Completions to be correctly installed, the files found and no error messages.
Current behavior
Upon starting zsh, sometimes but not always, a whole lot of these show up:
compinit:503: no such file or directory: /home/.../.config/zi/completions/_afew
compinit:503: no such file or directory: /home/.../.config/zi/completions/_android
compinit:shift:505: shift count must be <= $#
compinit:503: no such file or directory: /home/.../.config/zi/completions/_archlinux-java
compinit:shift:505: shift count must be <= $#
compinit:503: no such file or directory: /home/.../.config/zi/completions/_artisan
compinit:shift:505: shift count must be <= $#
...
Running zi clist also shows errors like:
afew, android, archlinux-java [unknown] [unknown file, clean with cclear]
And running zi cclear will delete all the offending links:
In particular, the -q . parameters cause the completions to be linked as ./src/XXXX instead of the full path to the files in the src directory of the plugin.
Simply removing it creates functional symlinks and zi clist does not complain any more.
Self-service
I'd be willing to address this documentation request myself.
The text was updated successfully, but these errors were encountered:
arielsalvo
added
bug 🐞
Inconsistencies or issues which will cause a problem for users or implementors.
triage 📑
The issue is awaiting investigation.
labels
May 15, 2024
Noticed this was already discussed in #13 .
I can't reproduce it myself now.
Maybe adding a zi cclear to the atpull statement to clear any broken links?
Environment
OSTYPE=linux-gnu CPUTYPE=x86_64 / MACHINE_TYPE=x86_64 ZSH_VERSION=5.8.1
Expected behavior
Completions to be correctly installed, the files found and no error messages.
Current behavior
Upon starting zsh, sometimes but not always, a whole lot of these show up:
Running
zi clist
also shows errors like:And running
zi cclear
will delete all the offending links:Steps to reproduce
I haven't been able to figure out why it doesn't happen all the time, but the links are always broken.
Code snippet
Aditional information
It seems that the issue is caused by line 122 of the file z-a-meta-plugins.plugin.zsh
In particular, the
-q .
parameters cause the completions to be linked as./src/XXXX
instead of the full path to the files in the src directory of the plugin.Simply removing it creates functional symlinks and
zi clist
does not complain any more.Self-service
Have you read the Contributing Guidelines?
Are you familiar with Contributor Covenant Code of Conduct?
Contact Details
No response
The text was updated successfully, but these errors were encountered: