summaryrefslogtreecommitdiff
path: root/plugins/kube-ps1
diff options
context:
space:
mode:
authorIsaac Cook <isaacbcook@gmail.com>2020-02-10 13:31:55 -0600
committerGitHub <noreply@github.com>2020-02-10 20:31:55 +0100
commit22cf7159ec09722421ffe355e852410823d7f49d (patch)
tree473659f185a0d7780f39ca4be7b5e872144f7cbd /plugins/kube-ps1
parentbfec31666aa9e61cc869fa6e93a031b53fe47d44 (diff)
downloadzsh-22cf7159ec09722421ffe355e852410823d7f49d.tar.gz
zsh-22cf7159ec09722421ffe355e852410823d7f49d.tar.bz2
zsh-22cf7159ec09722421ffe355e852410823d7f49d.zip
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.
Diffstat (limited to 'plugins/kube-ps1')
-rw-r--r--plugins/kube-ps1/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/kube-ps1/README.md b/plugins/kube-ps1/README.md
index 82c0a77e6..fdc1a94e8 100644
--- a/plugins/kube-ps1/README.md
+++ b/plugins/kube-ps1/README.md
@@ -55,6 +55,8 @@ plugins=(
# After the "source Oh My Zsh" line
PROMPT=$PROMPT'$(kube_ps1) '
+# Or in double quotes, don't forget to escape
+PROMPT=$PROMPT"\$(kube_ps1) "
```
Note: The `PROMPT` example above was tested with the theme `robbyrussell`.