Created
June 21, 2018 12:14
-
-
Save r7vme/62cafdc7b452bd44e946a4abd124711c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Show active kubernetes context in your zsh | |
# 1. Clone https://github.com/jonmosco/kube-ps1/ | |
# 2. Add following lines to ~/.zshrc (change path to kube-ps1.sh) | |
source ${HOME}/src/github/kube-ps1/kube-ps1.sh | |
export KUBE_PS1_SYMBOL_ENABLE="false" | |
export KUBE_PS1_NS_ENABLE="false" | |
export KUBE_PS1_PREFIX="" | |
export KUBE_PS1_SEPARATOR="" | |
export KUBE_PS1_SUFFIX=" " | |
PROMPT='$(kube_ps1)'$PROMPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment