Open kpcyrd opened 1 week ago
@kpcyrd I am unable to reproduce, following https://github.com/ipfs/kubo/blob/master/docs/command-completion.md#zsh the eval "$(ipfs commands completion zsh)"
works fine with zsh 5.9.
Perhaps you are using something else? IF so, why? Are there other docs related to this that we should update?
I'm not sure if eval is the right way to test this, in my case the completions are loaded from /usr/share/zsh/site-functions/_ipfs
.
The _ipfs
file I use is sha256:001becd85257c39b452858b2371680fcf936b587c94d845bd8fd2e7c17f2df21
.
Checklist
Installation method
built from source
Version
Config
No response
Description
hi!
I noticed the shell completions contain a shebang (
#!/...
) but shell completions are usually sourced instead of executed, so a shebang is not necessary.For zsh it seems the completions are not working due to this: