docs(brew): info regarding shell reload

resolves #1287
This commit is contained in:
Jan De Dobbeleer 2021-11-30 08:25:14 +01:00 committed by Jan De Dobbeleer
parent 82cad90aa0
commit 372fbc6f03

View file

@ -16,9 +16,18 @@ will always keep them compatible when updating Oh My Posh.
## Update ## Update
```bash ```bash
brew upgrade oh-my-posh brew update && brew upgrade oh-my-posh
``` ```
:::tip
In case you see [strange behaviour][strange] in your shell, reload it after upgrading Oh My Posh.
For example in zsh:
```bash
brew update && brew upgrade && exec zsh
```
:::
## Replace your existing prompt ## Replace your existing prompt
The guides below assume you copied the theme called `jandedobbeleer.omp.json` to your user's `$HOME` folder. The guides below assume you copied the theme called `jandedobbeleer.omp.json` to your user's `$HOME` folder.
@ -26,3 +35,4 @@ When using brew, you can find this one at `$(brew --prefix oh-my-posh)/themes/ja
[brew]: https://brew.sh [brew]: https://brew.sh
[themes]: https://ohmyposh.dev/docs/themes [themes]: https://ohmyposh.dev/docs/themes
[strange]: https://github.com/JanDeDobbeleer/oh-my-posh/issues/1287