项目作者: briandeheus

项目描述 :
Show which GKE cluster your kubectl is currently connected to
高级语言:
项目地址: git://github.com/briandeheus/gke-prompt-info.git
创建时间: 2018-09-19T08:17:16Z
项目社区:https://github.com/briandeheus/gke-prompt-info

开源协议:

下载


GKE Prompt

Shows the cluster to which your kubectl is currently set to connect.

Requirements

  • kubectl

How to install

  1. git clone git@github.com:briandeheus/gke-prompt-info.git
  2. ln -s $HOME/gke-prompt-info $HOME/.oh-my-zsh/plugins
  3. Add gke-prompt-info to your plugins
  4. Update your theme’s $PROMPT with $(gke_prompt_info). For example PROMPT='${ret_status} %{$fg[blue]%}$(gke_prompt_info)%{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'

Marvel in the wonders of life.

Wow this is so beautiful