kube-ps1: fix zsh prompt (#24737)
parent
e3a773aeec
commit
da42ab29c2
|
@ -17,7 +17,7 @@ class KubePs1 < Formula
|
|||
Make sure kube-ps1 is loaded from your ~/.zshrc or ~/.bashrc:
|
||||
For zsh:
|
||||
source "#{opt_share}/kube-ps1.sh"
|
||||
PROMPT='$(kube_ps1) $PROMPT'
|
||||
PROMPT='$(kube_ps1)'$PROMPT
|
||||
|
||||
For Bash:
|
||||
source "#{opt_share}/kube-ps1.sh"
|
||||
|
|
Loading…
Reference in New Issue