Relative Content

Tag Archive for fzf

fzf to replace kubectx and kubens

FZF stores the argument number that is passed to it and I’m unable to reuse $1. The idea is to create a nested fzf so that we do not have to run kubectx followed by kubens to switch to correct namespace. In zsh it sets the cluster and namespace to the same value of $1 which is the cluster.