vpistis / fish-kubectl-prompt

Display information about the kubectl current context and namespace in fish prompt. VPistis variant.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fish-kubectl-prompt "vpistis variant"

Display information about the kubectl current context and namespace in fish prompt.

Normal Prompt: normal-prompt

Error Prompt: error-prompt

CUSTOMIZE

If you want to customize, override the following environment variables.

set KUBECTL_PROMPT_ICON "⎈" set KUBECTL_PROMPT_SEPARATOR "|"

Install

With fisherman

fisher install vpistis/fish-kubectl-prompt

Use

You can toggle the prompt on or off like this:

kube_ps on
kube_ps off

Credits

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.

About

Display information about the kubectl current context and namespace in fish prompt. VPistis variant.

License:MIT License


Languages

Language:Shell 100.0%