Skip to content

Commit

Permalink
Merge pull request #174 from Artmorse/rprompt
Browse files Browse the repository at this point in the history
Display kube_ps1 on the prompt right side
  • Loading branch information
jonmosco authored May 24, 2023
2 parents 6aebfda + aec76dc commit 3a7ba03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ plugins=(
kube-ps1
)

PROMPT='$(kube_ps1)'$PROMPT
PROMPT='$(kube_ps1)'$PROMPT # or RPROMPT='$(kube_ps1)'
```


Expand All @@ -52,7 +52,7 @@ PROMPT='$(kube_ps1)'$PROMPT
Update `.zshrc` with:
```sh
zinit light jonmosco/kube-ps1
PROMPT='$(kube_ps1)'$PROMPT
PROMPT='$(kube_ps1)'$PROMPT # or RPROMPT='$(kube_ps1)'
```

### Fig
Expand All @@ -71,7 +71,7 @@ Install `kube-ps1` in zsh, bash, or fish with one click.
#### Zsh
```sh
source /path/to/kube-ps1.sh
PROMPT='$(kube_ps1)'$PROMPT
PROMPT='$(kube_ps1)'$PROMPT # or RPROMPT='$(kube_ps1)'
```
#### Bash
```sh
Expand Down

0 comments on commit 3a7ba03

Please sign in to comment.