sbstp / kubie

A more powerful alternative to kubectx and kubens
https://blog.sbstp.ca/introducing-kubie/
zlib License
1.97k stars 101 forks source link

Feature request: zsh autocomplete #34

Open bygui86 opened 4 years ago

bygui86 commented 4 years ago

I think bash autocomplete is great, but for someone like me using zsh it's difficult to remember yet another set of commands and flags :) Do you think zsh autocompletion can be added as well?

211217613 commented 4 years ago

I just migrated to zsh. Does the autocomplete script for bash not work for zsh?

mbtamuli commented 4 years ago

@211217613 How did you enable it for zsh? Do I need to modify the command?

sudo cp ./completion/kubie.bash $(pkg-config --variable=completionsdir bash-completion)/kubie.bash
211217613 commented 4 years ago

@211217613 How did you enable it for zsh? Do I need to modify the command?

sudo cp ./completion/kubie.bash $(pkg-config --variable=completionsdir bash-completion)/kubie.bash

I didn’t. I’m just using an abomination of zsh autocomplete and fzf

kcirrr commented 3 years ago

The bash completion doesn't allow for partial completion. ZSH completion would be great indeed.

Fecro commented 3 years ago

The zsh completion would be an excellent feature.

aittam commented 3 years ago

+1

lodotek commented 2 years ago

+1 bump

kgatz commented 2 years ago

+1

tdensmore commented 2 years ago

+1

simonst commented 2 years ago

+1

mkurde commented 2 years ago

Comming from kubectx and enjoying the shell encapsulation per context I am missing the zsh autocompletion sorely.

sbstp commented 2 years ago

I don't really have time to dig into how zsh autocomplete works, but I'll review & merge PRs for it

juanmirocks commented 9 months ago

Any news? This PR looks promising: https://github.com/sbstp/kubie/pull/175