jonmosco / kube-ps1

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

Add support for cluster and namespace color functions #154

Closed dounix closed 2 years ago

dounix commented 2 years ago

Added support for determining namespace and cluster color with a function.

I use this to highlight clusters that might warrant additional care, production, for example

If you take PR's great, if not no hurt feelings, thanks for your work.

jonmosco commented 2 years ago

Thanks for this PR. The color options do allow their defaults to be changed. I don't disagree this would be useful (your PR) but think this should be up to the user.