mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
docs: update install prompt config for nu 0.60.0
This commit is contained in:
parent
f9c160b937
commit
15c11f6f1c
|
@ -104,6 +104,13 @@ config set prompt "= `{{$(oh-my-posh prompt print primary --config ~/.jandedobb
|
||||||
config set prompt "(oh-my-posh prompt print primary --config ~/.jandedobbeleer.omp.json | str collect)"
|
config set prompt "(oh-my-posh prompt print primary --config ~/.jandedobbeleer.omp.json | str collect)"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Nu >= 0.60.0**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
let-env PROMPT_COMMAND = { oh-my-posh prompt print primary --config ~/.jandedobbeleer.omp.json }
|
||||||
|
let-env PROMPT_COMMAND_RIGHT = { oh-my-posh prompt print right --config ~/.jandedobbeleer.omp.json }
|
||||||
|
```
|
||||||
|
|
||||||
Once altered, restart nu shell for the changes to take effect.
|
Once altered, restart nu shell for the changes to take effect.
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
|
@ -148,6 +148,13 @@ config set prompt "= `{{$(oh-my-posh prompt print primary | str collect)}}`"
|
||||||
config set prompt "(oh-my-posh prompt print primary | str collect)"
|
config set prompt "(oh-my-posh prompt print primary | str collect)"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Nu >= 0.60.0**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
let-env PROMPT_COMMAND = { oh-my-posh prompt print primary }
|
||||||
|
let-env PROMPT_COMMAND_RIGHT = { oh-my-posh prompt print right }
|
||||||
|
```
|
||||||
|
|
||||||
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