docs(windows): add additional PATH context

This commit is contained in:
Riikka 2024-01-13 15:44:12 +02:00 committed by Jan De Dobbeleer
parent 4cf65fddfb
commit 3b7ebb3d9e

View file

@ -73,7 +73,15 @@ This installs a couple of things:
- `oh-my-posh.exe` - Windows executable
- `themes` - The latest Oh My Posh [themes][themes]
:::info
For the `PATH` to be reloaded, a restart of your terminal is advised.
If oh-my-posh is not recognized as a command, you can run the installer again, or add it manually to your `PATH`.
For example:
```powershell
$env:Path += ";C:\Users\user\AppData\Local\Programs\oh-my-posh\bin"
```
:::
:::tip Antivirus software
Due to frequent updates of Oh My Posh, Antivirus software occasionally flags it (false positive).