mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-15 13:17:53 -08:00
docs(pwsh): create profile on error
This commit is contained in:
parent
f3547c8d2a
commit
8b21a67d7a
|
@ -35,6 +35,14 @@ Edit your PowerShell profile script, you can find its location under the `$PROFI
|
|||
notepad $PROFILE
|
||||
```
|
||||
|
||||
:::info
|
||||
When the above command gives an error, make sure to create the profile first.
|
||||
|
||||
```powershell
|
||||
New-Item -Path $PROFILE -Type File -Force
|
||||
```
|
||||
:::
|
||||
|
||||
Then add the following line.
|
||||
|
||||
```powershell
|
||||
|
|
Loading…
Reference in a new issue