[x] I've checked the Changelog and I'm not being affected by documented changes.
[x] I've checked the 📢 Announcements and I'm not being affected by announced changes.
[x] I was able to reproduce the issue with a clean installation of Zim.
[x] I've pasted the output of zimfw info below.
Describe the bug
My .zcompdump file is not updating with new zsh completion functions, so my completions are not updating until I manually delete it.
I noticed that .zcompdump.dat is not tracking any completion functions -- it contains nothing except the expanded ${ZSH_VERSION} string (shows in vim as 5.9^@^@). If I understand the script correctly, with the change due to https://github.com/zimfw/completion/pull/12, it is supposed to track changes to completion functions in this .dat file so that it can delete the dump file.
The problem seems to be this line where it tries to get a list of all completion functions.
zcomps=(${^fpath}/^([^_]*|*~|*.zwc)(N))
When I check this list it is empty. I guess this is some weird zsh glob/regex thing but it does not seem to be matching the intended patterns.
zimfw
.zimfw info
below.Describe the bug
My
.zcompdump
file is not updating with new zsh completion functions, so my completions are not updating until I manually delete it.I noticed that
.zcompdump.dat
is not tracking any completion functions -- it contains nothing except the expanded${ZSH_VERSION}
string (shows in vim as5.9^@^@
). If I understand the script correctly, with the change due to https://github.com/zimfw/completion/pull/12, it is supposed to track changes to completion functions in this .dat file so that it can delete the dump file.The problem seems to be this line where it tries to get a list of all completion functions.
When I check this list it is empty. I guess this is some weird zsh glob/regex thing but it does not seem to be matching the intended patterns.
zimfw info