tigerjz32 / kube-zsh-theme

An ohmyzsh theme, intended to work with Kubernetes kubectl context

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kube-zsh-theme

An ohmyzsh theme, intended to work with Kubernetes kubectl context. This theme adapts your console to the MacOS.

Kube Zsh Theme

You can find this theme in the official Github Wiki of Oh My ZSH.

  • Tested on MacOS

Features

  • shows the current time
  • shows current kubectl context
  • shows current dir
  • shows current Git branch
  • shows an arrow to differentiate input vs prompt
  • uses different colors for readability

Installation

  1. Write in your terminal git clone https://github.com/tigerjz32/kube-zsh-theme.git/ $ZSH_CUSTOM/themes/kube-zsh-theme
  2. Open your .zshrc
  3. Change your ZSH_THEME to kube-zsh-theme/kube

Format

[CURRENT_TIME][CURRENT_KUBECTL_CONTEXT][CURRENT_DIR][GIT_PRMOPT_INFO]➭$

About

An ohmyzsh theme, intended to work with Kubernetes kubectl context

License:MIT License