mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 03:24:04 -08:00
docs(windows): make installation guide more accurate
This commit is contained in:
parent
5e9a7f5743
commit
d6015f6e67
|
@ -64,7 +64,7 @@ This installs a couple of things:
|
||||||
- `oh-my-posh.exe` - Windows executable
|
- `oh-my-posh.exe` - Windows executable
|
||||||
- `themes` - The latest Oh My Posh [themes][themes]
|
- `themes` - The latest Oh My Posh [themes][themes]
|
||||||
|
|
||||||
For the `$PATH` to reload, a restart of your terminal is advised.
|
For the `PATH` to be reloaded, a restart of your terminal is advised.
|
||||||
|
|
||||||
:::warning Antivirus software
|
:::warning Antivirus software
|
||||||
Due to frequent updates of Oh My Posh, Antivirus software occasionally flags it (false positive).
|
Due to frequent updates of Oh My Posh, Antivirus software occasionally flags it (false positive).
|
||||||
|
@ -130,22 +130,22 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object
|
||||||
}>
|
}>
|
||||||
<TabItem value="winget">
|
<TabItem value="winget">
|
||||||
|
|
||||||
You can find the themes winget installs inside the `$env:POSH_THEMES_PATH` folder.
|
You can find the themes winget installs inside the folder indicated by the environment variable `POSH_THEMES_PATH`.
|
||||||
To use `jandedobbeleer.omp.json` for example, you can refer to it using `$env:POSH_THEMES_PATH\jandedobbeleer.omp.json`
|
To use `jandedobbeleer.omp.json` in PowerShell for example, you can refer to it using `$env:POSH_THEMES_PATH\jandedobbeleer.omp.json`
|
||||||
when setting the prompt using the `--config` flag.
|
when setting the prompt using the `--config` flag.
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="scoop">
|
<TabItem value="scoop">
|
||||||
|
|
||||||
You can find the themes scoop installs inside the `"$(scoop prefix oh-my-posh)\themes\"` folder.
|
You can find the themes scoop installs inside the `"$(scoop prefix oh-my-posh)\themes\"` folder.
|
||||||
To use `jandedobbeleer.omp.json` for example, you can refer to it using `"$(scoop prefix oh-my-posh)\themes\jandedobbeleer.omp.json"`
|
To use `jandedobbeleer.omp.json` in PowerShell for example, you can refer to it using `"$(scoop prefix oh-my-posh)\themes\jandedobbeleer.omp.json"`
|
||||||
when setting the prompt using the `--config` flag.
|
when setting the prompt using the `--config` flag.
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="manual">
|
<TabItem value="manual">
|
||||||
|
|
||||||
You can find the themes inside the `$env:POSH_THEMES_PATH` folder.
|
You can find the themes inside the folder indicated by the environment variable `POSH_THEMES_PATH`.
|
||||||
To use `jandedobbeleer.omp.json` for example, you can refer to it using `$env:POSH_THEMES_PATH\jandedobbeleer.omp.json`
|
To use `jandedobbeleer.omp.json` in PowerShell for example, you can refer to it using `$env:POSH_THEMES_PATH\jandedobbeleer.omp.json`
|
||||||
when setting the prompt using the `--config` flag.
|
when setting the prompt using the `--config` flag.
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
Loading…
Reference in a new issue