mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
docs(transient): correct description about enabling for CMD
This commit is contained in:
parent
4eedd5aafa
commit
000602f28a
|
@ -80,7 +80,7 @@ properties below - defaults to `{{ .Shell }}> `
|
||||||
Invoke Oh My Posh in your `$PROFILE` and add the following line below.
|
Invoke Oh My Posh in your `$PROFILE` and add the following line below.
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
oh-my-posh init pwsh --config $env:POSH_THEMES_PATH/jandedobbeleer.omp.json | Invoke-Expression
|
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/jandedobbeleer.omp.json" | Invoke-Expression
|
||||||
// highlight-start
|
// highlight-start
|
||||||
Enable-PoshTransientPrompt
|
Enable-PoshTransientPrompt
|
||||||
// highlight-end
|
// highlight-end
|
||||||
|
@ -95,7 +95,7 @@ Restart your shell or reload your `$PROFILE` using `. $PROFILE` for the changes
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="cmd">
|
<TabItem value="cmd">
|
||||||
|
|
||||||
Set the transient prompt in [clink][clink] to `always` in the `oh-my-posh.lua` script to enable the feature:
|
You can run the command below to enable the feature permanently:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
clink set prompt.transient always
|
clink set prompt.transient always
|
||||||
|
|
Loading…
Reference in a new issue