mirror of
https://github.com/ahmetb/kubectx.git
synced 2026-03-18 11:52:24 +00:00
Instead of using FZF_DEFAULT_COMMAND to have fzf spawn a kubens subprocess, InteractiveSwitchOp now queries namespaces directly and pipes the result to fzf via an in-memory buffer. This makes the 3-second slow-cluster warning visible to the user (printed to stderr before fzf's TUI launches), since fzf swallows stderr from FZF_DEFAULT_COMMAND subprocesses. https://claude.ai/code/session_01XJXHq8WG22iqX8KaDb9RZz