Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update prompt_kubecontext with config check
Since I have many kubernetes config files and switch contexts frequently. Rather than always display the kubecontext segment, check for a KUBECONFIG environment variable or a default $HOME/.kube/config to enable segment. Also modified the final text to skip namespace if it appears anywhere in context name (via grep)
- Loading branch information