jonmosco / kube-ps1

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

Add variable to disable display context #163

Closed Lxrdknows77 closed 2 years ago

Lxrdknows77 commented 2 years ago

It would be nice to have variable to disable display of context e.g KUBE_PS1_CONTEXT_ENABLE.

jonmosco commented 2 years ago

This already exists: KUBE_PS1_CONTEXT_ENABLE="${KUBE_PS1_CONTEXT_ENABLE:-true}"

Lxrdknows77 commented 2 years ago

@jonmosco Sorry, my bad! Thanks.

Lxrdknows77 commented 2 years ago

@jonmosco But I can't see it in the kube-ps1.sh and seems and it's not working. My version is latest 0.7.0, but on MAC...😐

Lxrdknows77 commented 2 years ago

There is not this var in the shell script