mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-31 13:57:26 -08:00
docs(customize): correct environment variable name
This commit is contained in:
parent
0575e6d78d
commit
2ed2c038af
|
@ -24,13 +24,13 @@ to change the `--config` option of the `oh-my-posh init <shell>` line in your `p
|
||||||
}>
|
}>
|
||||||
<TabItem value="windows">
|
<TabItem value="windows">
|
||||||
|
|
||||||
When using the Windows installer (winget or Store install), you can make use of the `$POSH_THEMES` environment variable
|
When using the Windows installer (via winget or Store), you can make use of the `POSH_THEMES_PATH` environment variable
|
||||||
that points to all [themes][themes] on your file system.
|
that points to a directory including all [themes][themes] on your file system.
|
||||||
|
|
||||||
For example, to use the [jandedobbeleer][jandedobbeleer] theme, alter the init line like this (`powershell`):
|
For example, to use the [jandedobbeleer][jandedobbeleer] theme, alter the init line like this (`powershell`):
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
oh-my-posh init pwsh --config "$env:POSH_THEMES/jandedobbeleer.omp.json" | Invoke-Expression
|
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH/jandedobbeleer.omp.json" | Invoke-Expression
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
Loading…
Reference in a new issue