Skip to content

kingtong/zsh-kubie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

kubie

The plugin displays information of the kubectl context and namespace gathered from kubie.

To use it:

git clone https://github.com/kingtong/zsh-kubie.git ${HOME}/.oh-my-zsh/custom/plugins/kubie

Add kubie to the plugins array of your zshrc file:

plugins=(... kubie)

The plugin creates a kubie_prompt_info function that you can use in your theme, which displays kubectl context and namespace. It uses two variables to control how that is shown:

  • ZSH_THEME_KUBIE_PREFIX: sets the prefix of the prompt. Defaults to [.

  • ZSH_THEME_KUBIE_SUFFIX: sets the suffix of the prompt. Defaults to ].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages