kube-ps1: fix zsh prompt (#24737)

master
Grachev Mikhail 2018-03-02 16:02:30 +03:00 committed by FX Coudert
parent e3a773aeec
commit da42ab29c2
1 changed files with 1 additions and 1 deletions

View File

@ -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"