docs(pwsh): add missing profile context

relates to #2499
This commit is contained in:
Jan De Dobbeleer 2022-07-10 09:35:42 +02:00 committed by Jan De Dobbeleer
parent 69386deb31
commit 7b504e42eb

View file

@ -41,6 +41,14 @@ Once altered, reload your profile for the changes to take effect.
. $PROFILE
```
:::info
When the above command gives an error, make sure to create the profile first and add the `oh-my-posh init` above.
```powershell
New-Item -Path $PROFILE -Type File -Force
```
:::
</TabItem>
<TabItem value="cmd">