Closed tigerpeng2001 closed 2 years ago
The prompt has 2 functions to turn it on and off: kubeon
and kubeoff
, respectively. See https://github.com/jonmosco/kube-ps1#enablingdisabling
Closing issue do to on/off feature being available.
@jonmosco is there a way to have it turned off by default and still be able to use kubeon
and kubeoff
? Right now, it always defaults to on when I open a new terminal tab
edit: Ah, seems I can just add kubeoff
on the next line in my .zshrc file and it will take care of this
kubeoff -g
also works to turn it off by default in bash.
The prompt is good when I work with kubectl\, but annoy when I work on something else.
Could you add a wrapper to turn the prompt on and off? My temporary solution is:
The solution is broken when I get into my git workspace (with git bash prompt)