mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
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.
This commit is contained in:
parent
bfec31666a
commit
22cf7159ec
1 changed files with 2 additions and 0 deletions
|
@ -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`.
|
||||
|
|
Loading…
Reference in a new issue