docs: adding encoding for Write-PoshTheme to upgrade guide

fixing a couple typos.

refs #220
This commit is contained in:
Willie Zutz 2021-01-09 20:28:42 +00:00 committed by Jan De Dobbeleer
parent 82b97bc3b9
commit b876744721

View file

@ -57,11 +57,11 @@ If you don't remember which one, preview them all and take the one closest to yo
Get-PoshThemes
```
If you see one you like, set it, export its config so you can customize/extend the blocks ans segmnts.
If you see one you like, set it, then export its config so you can customize/extend the blocks and segments.
```powershell
Set-PoshPrompt -Theme jandedobbeleer
Write-PoshTheme | Out-File -FilePath ~/.go-my-posh.json
Write-PoshTheme | Out-File -FilePath ~/.go-my-posh.json -Encoding oem
```
Adjust the config (`~/.go-my-posh.json`) to your liking by going through the [configuration][configuration] guide.