docs: fix typo in custom theme path

This commit is contained in:
Jan De Dobbeleer 2021-05-16 18:51:01 +02:00
parent 36feb76f20
commit cc6a91fa6a
No known key found for this signature in database
GPG key ID: F6CC273CE5BA9AEE
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ Export-PoshTheme -FilePath ~/.mytheme.omp.json -Format json
Once you're done editing, adjust your `$PROFILE` to use your newly created theme.
```powershell
Invoke-Expression (oh-my-posh --init --shell pwsh --config ~/mytheme.omp.json)
Invoke-Expression (oh-my-posh --init --shell pwsh --config ~/.mytheme.omp.json)
```
</TabItem>

View file

@ -26,7 +26,7 @@ oh-my-posh --print-shell
Edit `$PROFILE` in your preferred PowerShell version and add the following line.
```powershell
Invoke-Expression (oh-my-posh --init --shell pwsh --config ~/mytheme.omp.json)
Invoke-Expression (oh-my-posh --init --shell pwsh --config ~/.mytheme.omp.json)
```
Once added, reload your profile for the changes to take effect.
@ -41,7 +41,7 @@ Once added, reload your profile for the changes to take effect.
Add the following to `~/.zshrc`:
```bash
eval "$(oh-my-posh --init --shell zsh --config ~/mytheme.omp.json)"
eval "$(oh-my-posh --init --shell zsh --config ~/.mytheme.omp.json)"
```
Once added, reload your profile for the changes to take effect.
@ -56,7 +56,7 @@ source ~/.zshrc
Add the following to `~/.bashrc` (or `~/.profile` on MacOS):
```bash
eval "$(oh-my-posh --init --shell bash --config ~/mytheme.omp.json)"
eval "$(oh-my-posh --init --shell bash --config ~/.mytheme.omp.json)"
```
Once added, reload your profile for the changes to take effect.