Giter Site home page Giter Site logo

polyglot-kube-ps1's Introduction

polyglot-kube-ps1: Kubernetes integration for the Polyglot Prompt (bash/zsh)

polyglot-kube-ps1 Demo

If you use the Polyglot Prompt with bash or zsh and would like to have a Kubernetes indicator in your prompt, you can do so by using the kube-ps1 and polyglot-kube-ps1 scripts. Just clone the following repositories:

https://github.com/agkozak/polyglot
https://github.com/jonmosco/kube-ps1
https://github.com/agkozak/polyglot-kube-ps1

and source them:

. /path/to/polyglot.sh
. /path/to/kube-ps1.sh
. /path/to/polyglot-kube-ps1.sh

Alternatively, you may load them using a package manager.

polyglot-kube-ps1 displays your Kubernetes cluster and namespace above the Polyglot Prompt. The Kubernetes info is styled so as to fit in with the default Polyglot look and feel, but you may still use kube-ps1 customizations by specifying them after you source the three scripts, e.g.

KUBE_PS1_SYMBOL_ENABLE='true'     # Get that popular Unicode symbol back
KUBE_PS1_CTX_COLOR='red'          # Make the cluster color red

polyglot-kube-ps1's People

Contributors

agkozak avatar nacx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nacx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.