GKE Prompt
Shows the cluster to which your kubectl is currently set to connect.
Requirements
- kubectl
How to install
- git clone git@github.com:briandeheus/gke-prompt-info.git
ln -s $HOME/gke-prompt-info $HOME/.oh-my-zsh/plugins
- Add
gke-prompt-info
to your plugins - Update your theme's $PROMPT with
$(gke_prompt_info)
. For examplePROMPT='${ret_status} %{$fg[blue]%}$(gke_prompt_info)%{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
Marvel in the wonders of life.