jonmosco/kube-ps1
View on GitHub ↗ ★ 3,813 Shell
Kubernetes prompt info for bash, fish, and zsh
4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2018-01-08 · latest 2021-07-05
20082026
-
…ever. I use a custom written script but I've used this one in the past - its pretty nice. https://github.com/jonmosco/kube-ps1/blob/master/kube-ps1.sh
comment by cfors · 2021-07-05 · in Everything useful I know about kubectl -
…the git-prompt.sh script (usually comes with the bash-completion package), and the kube-ps1 script: https://github.com/jonmosco/kube-ps1 It will show you the current kubernetes profile and namespace, user@host, current directory and git…
comment by res0nat0r · 2021-06-24 · in Bash PS1 Generator -
Also check these two as a complement: https://github.com/ahmetb/kubectx https://github.com/jonmosco/kube-ps1
comment by KohgnaK · 2019-06-05 · in I want to prevent the execution failure of kubectl