Closed jinyius closed 2 months ago
I cleaned up a good amount of these in the latest release, and more to come to cut this list down by at least half.
KUBE_PS1_BG_COLOR KUBE_PS1_CONTEXT_ENABLE KUBE_PS1_NAMESPACE_FUNCTION KUBE_PS1_SEPARATOR KUBE_PS1_SYMBOL_OC_IMG
KUBE_PS1_BINARY KUBE_PS1_CTX_COLOR KUBE_PS1_NS_COLOR KUBE_PS1_SUFFIX KUBE_PS1_SYMBOL_PADDING
KUBE_PS1_CLUSTER_FUNCTION KUBE_PS1_DIVIDER KUBE_PS1_NS_ENABLE KUBE_PS1_SYMBOL_COLOR KUBE_PS1_SYMBOL_USE_IMG
KUBE_PS1_CONTEXT KUBE_PS1_NAMESPACE KUBE_PS1_PREFIX KUBE_PS1_SYMBOL_ENABLE
since it's a function, you can probably use command like args for some values. also, could use a config file, but this seems overweight.
thanks for looking at this.
(a super-cheap workaround would be to underscore prefix these settings)
Yes, that is also in the TODO
and being worked on.
Going to close this out. Newest commit has cut back on the amt of env vars. Thank you for raising this issue!
(using zsh)
it would be nice not to export the KUBE_PS1 vars everywhere. some ideas: