docs: reload shell correctly

relates to #663
This commit is contained in:
Jan De Dobbeleer 2022-03-01 18:52:19 +01:00
parent 60ec1c6768
commit 8b5b8dac65
No known key found for this signature in database
GPG key ID: F6CC273CE5BA9AEE
4 changed files with 5 additions and 5 deletions

View file

@ -90,7 +90,7 @@ Invoke Oh My Posh in `.zshrc` and add the following line below:
enable_poshtooltips
```
Restart your shell or reload `.zshrc` using `source ~/.zshrc` for the changes to take effect.
Restart your shell or reload `.zshrc` using `exec zsh` for the changes to take effect.
</TabItem>
</Tabs>

View file

@ -108,7 +108,7 @@ Invoke Oh My Posh in `.zshrc` and add the following line below:
enable_poshtransientprompt
```
Restart your shell or reload `.zshrc` using `source ~/.zshrc` for the changes to take effect.
Restart your shell or reload `.zshrc` using `exec zsh` for the changes to take effect.
</TabItem>
</Tabs>

View file

@ -39,7 +39,7 @@ eval "$(oh-my-posh --init --shell zsh --config '~/.mytheme.omp.json')"
When adjusted, reload your profile for the changes to take effect.
```bash
. ~/.zshrc
exec zsh
```
</TabItem>
@ -58,7 +58,7 @@ eval "$(oh-my-posh --init --shell bash --config '~/.mytheme.omp.json')"
When adjusted, reload your profile for the changes to take effect.
```bash
. ~/.bashrc
exec bash
```
</TabItem>

View file

@ -97,7 +97,7 @@ eval "$(oh-my-posh --init --shell bash --config https://raw.githubusercontent.co
Once added, reload your profile for the changes to take effect.
```bash
. ~/.bashrc
exec bash
```
Or, when using `~/.profile`.