mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
parent
766dc1ac8b
commit
f54c9eb514
|
@ -95,10 +95,18 @@ Once added, reload your config for the changes to take effect.
|
||||||
|
|
||||||
Set the prompt and restart nu shell:
|
Set the prompt and restart nu shell:
|
||||||
|
|
||||||
|
### Nu < 0.32.0
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
config set prompt "= `{{$(oh-my-posh --config ~/.poshthemes/jandedobbeleer.omp.json | str collect)}}`"
|
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.
|
Restart nu shell for the changes to take effect.
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
Loading…
Reference in a new issue