Display information about the kubectl current context and namespace in fish prompt.
If you want to customize, override the following environment variables.
set KUBECTL_PROMPT_ICON "⎈" set KUBECTL_PROMPT_SEPARATOR "|"
With fisherman
fisher install vpistis/fish-kubectl-prompt
You can toggle the prompt on or off like this:
kube_ps on
kube_ps off
This is a variant of the project https://github.com/Ladicle/fish-kubectl-prompt adding toggle on/off from https://github.com/aluxian/fish-kube-prompt and other stuffs.