No interactive select with `kc` command
aslafy-z opened this issue · 5 comments
Describe the bug
To Reproduce
- Install with given install steps.
- Run
kc
- The context list shows up as a list, the interactive panel is not interactive.
Expected behavior
Shows the fzf
alternative
Screenshots
$ kc
Possible contexts are:
azure-1
azure-2
azure-3
azure-4
azure-5
azure-6
azure-7
azure-8
Desktop (please complete the following information):
- OS: Archlinux
- Term: Tilix, Shell: ZSH
- Version: 1.2.6
Oh my, you can't use arrows or fuzzy finding at all?
How about completion, do you get any suggestions on tab?
I forgot to say that using kubesess context
directly works! I have no completion for the KC command.
Also, when using kubesess context
and quitting with Ctrl+C
, my prompt comes back without the cursor.
Great catch on the cursor there, dunno how I missed that since I use ctrl-c quite often! Found a fix for that and created a separate issue for it as well #31
Regarding your other issue, I kind of feel the error should be in the script.
Could be that I was missing the shebang at the top that is making the script run a different interpreter.
Could you try to add #!/bin/bash
at the top of the kubesess.sh
file and see if that solves it.
The file should be located at: $HOME/.kube/kubesess