Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generated zsh shell completion not working #412

Closed
1 of 2 tasks
mrwormhole opened this issue Sep 10, 2023 · 1 comment
Closed
1 of 2 tasks

generated zsh shell completion not working #412

mrwormhole opened this issue Sep 10, 2023 · 1 comment

Comments

@mrwormhole
Copy link

mrwormhole commented Sep 10, 2023

Why do you need this?

nice to have, still investigating this

Expected Behaviour

I am doing a fresh install from AUR then I am expecting all shell completions to work which are generated from k3sup binary

Current Behaviour

generated zsh completion is not working

Possible Solution

unknown

Steps to Reproduce

  1. ensure zsh and zsh-completions are installed in .zshrc
  2. clone from https://aur.archlinux.org/packages/k3sup
  3. run makepkg -si
  4. try to do k3sup then press tab
  5. observe that it is not completing the commands

Your Environment

  • k3sup version: 0.13.0
k3sup version
  • What Kubernetes distribution, client and server version are you using?
kubectl version
  • What OS or type or VM are you using for your cluster? Where is it hosted? (for k3sup install/join):
    N/A

  • Operating System and version (e.g. Linux, Windows, MacOS):
    Linux

uname -a

cat /etc/os-release

Linux spiritbreaker 6.4.12-arch1-1

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

Do you want to work on this?

yes

Subject to design approval, are you willing to work on a Pull Request for this issue or feature request?

  • Yes
  • No
@mrwormhole
Copy link
Author

marked as resolved, just had to log out and restart my cmdline and put a space before hitting tab

also fpath had to be set in .zshrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant