jonmosco / kube-ps1

Kubernetes prompt info for bash and zsh
Apache License 2.0
3.52k stars 351 forks source link

Keep kubeoff as default when opening new terminal #191

Closed codenio closed 4 months ago

codenio commented 5 months ago

Hi,

On opening new terminal the kube-ps1 script keeps kubeon as default. i.e, it displays the cluster and namespace info in the prompt. Could this be changed to kubeoff as default ?

jonmosco commented 5 months ago

If you set the global flag with kubeoff -g it will not be displayed when opening a new terminal. See https://github.com/jonmosco/kube-ps1?tab=readme-ov-file#enablingdisabling

jonmosco commented 4 months ago

Closing. This can be done with current functionality.