docs: reflect latest changes in nushell

resolves #719
This commit is contained in:
Jan De Dobbeleer 2021-05-18 20:13:48 +02:00 committed by Jan De Dobbeleer
parent 766dc1ac8b
commit f54c9eb514

View file

@ -95,10 +95,18 @@ Once added, reload your config for the changes to take effect.
Set the prompt and restart nu shell:
### Nu < 0.32.0
```bash
config set prompt "= `{{$(oh-my-posh --config ~/.poshthemes/jandedobbeleer.omp.json | str collect)}}`"
```
### Nu >= 0.32.0
```bash
config set prompt "(oh-my-posh --config ~/.poshthemes/jandedobbeleer.omp.json | str collect)"
```
Restart nu shell for the changes to take effect.
</TabItem>