ahmetb / kubectx

Faster way to switch between clusters and namespaces in kubectl
https://kubectx.dev
Apache License 2.0
17.71k stars 1.26k forks source link

Since 0.6.0 kctx doesn't work anymore #78

Closed adebasi closed 6 years ago

adebasi commented 6 years ago

Setup: I am using MacOS and installed kubectx this way:

brew install kubectx --with-short-names

I just upgraded to 0.6.0.

Problem: Running kctx command shows fzf-view and [$FZF_DEFAULT_COMMAND failed]

Cause: I found the line of code which causes trouble: https://github.com/ahmetb/kubectx/blob/master/kubectx#L94

choice="$(FZF_DEFAULT_COMMAND='kubectx' fzf --ansi || true)"

kubectx does not exist in my environment, because I installed kubectx with --with-short-names. I only have kctx

ahmetb commented 6 years ago

Sending out a fix shortly. I also realized this is a problem.

ahmetb commented 6 years ago

You can now download 0.6.1 via brew.