22cf7159ec09722421ffe355e852410823d7f49d

Author
Isaac Cook <isaacbcook@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

kube-ps1: add example for common pitfall (#8318)

I ran into this issue, looks like maybe a few other people did as well.

https://github.com/jonmosco/kube-ps1/issues/28#issuecomment-359761463
A simple clarification seems helpful.

Diff

 1diff --git a/plugins/kube-ps1/README.md b/plugins/kube-ps1/README.md
 2index 82c0a77e66cea7eaf6bc9abc40938df665d52324..fdc1a94e868aaad7c56e1960b6d7a7a765cdffb1 100644
 3--- a/plugins/kube-ps1/README.md
 4+++ b/plugins/kube-ps1/README.md
 5@@ -55,6 +55,8 @@ plugins=(
 6 
 7 # After the "source Oh My Zsh" line
 8 PROMPT=$PROMPT'$(kube_ps1) '
 9+# Or in double quotes, don't forget to escape
10+PROMPT=$PROMPT"\$(kube_ps1) "
11 ```
12 
13 Note: The `PROMPT` example above was tested with the theme `robbyrussell`.