Public bug reported:

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 ;)

** Affects: kubectx (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "patch"
   https://bugs.launchpad.net/bugs/2073369/+attachment/5797978/+files/patch

** Description changed:

  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     
+ $ 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/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
+ usr/share/kubectx/completion/kubens.zsh 
usr/share/zsh/vendor-completions/_kubens.zsh  <<< WRONG
  
- 
- $ ls -1 completion                
+ $ ls -1 completion
  kubectx.bash
  kubectx.fish
  _kubectx.zsh
  kubens.bash
  kubens.fish
  _kubens.zsh
  
- 
  Patch is attached ;)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073369

Title:
  zsh completion not found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubectx/+bug/2073369/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to