Comment 0 for bug 2073369

Revision history for this message
Lukas Rettler (lukasrettler) wrote :

on ubuntu/novel we get the following issue

compinit:527: no such file or directory: /usr/share/zsh/vendor-completions/_kubectx.zsh
compinit:527: no such file or directory: /usr/share/zsh/vendor-completions/_kubens.zsh

a look into the debian/kubectx.links and the completion shows that the links are not correct

https://git.launchpad.net/ubuntu/+source/kubectx/tree/debian/kubectx.links?h=ubuntu/noble
$ cat debian/kubectx.links
usr/share/kubectx/completion/kubectx.bash usr/share/bash-completion/completions/kubectx.bash
usr/share/kubectx/completion/kubectx.fish usr/share/fish/vendor_completions.d/kubectx.fish
usr/share/kubectx/completion/_kubectx.zsh usr/share/zsh/vendor-completions/kubectx.zsh <<< WRONG

usr/share/kubectx/completion/kubens.bash usr/share/bash-completion/completions/kubens.bash
usr/share/kubectx/completion/kubens.fish usr/share/fish/vendor_completions.d/kubens.fish
usr/share/kubectx/completion/_kubens.zsh usr/share/zsh/vendor-completions/kubens.zsh <<< WRONG

$ ls -1 completion
kubectx.bash
kubectx.fish
_kubectx.zsh
kubens.bash
kubens.fish
_kubens.zsh

Patch is attached ;)