mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 20:09:39 -08:00
docs: fix typo in custom theme path
This commit is contained in:
parent
36feb76f20
commit
cc6a91fa6a
|
@ -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>
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue