1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

Replace "restart shell" documentation "exec zsh" (#8411)

Running `source ~/.zshrc` can have side effects, it's better to reload the whole 
zsh session with `exec zsh`.
This commit is contained in:
Jacob Tomaw 2019-11-19 13:44:00 -05:00 committed by Marc Cornellà
parent 1ba0af650a
commit c130aadb6a
5 changed files with 10 additions and 10 deletions

View file

@ -17,10 +17,10 @@ Plugin for displaying images on the terminal using the the `catimg.sh` script pr
)
```
2. Reload the source file or restart your Terminal session:
2. Restart the shell or restart your Terminal session:
```console
$ source ~/.zshrc
$ exec zsh
$
```

View file

@ -15,10 +15,10 @@ This plugin enables directory navigation similar to using back and forward on br
)
```
2. Reload the source file or restart your Terminal session:
2. Restart the shell or restart your Terminal session:
```console
$ source ~/.zshrc
$ exec zsh
$
```

View file

@ -20,10 +20,10 @@ Alias plugin for encoding or decoding using `base64` command
)
```
2. Restart your terminal session or reload configuration by running:
2. Restart your terminal session or restart the shell:
```sh
source ~/.zshrc
exec zsh
```
## Usage and examples

View file

@ -13,10 +13,10 @@ Plugin for adding catspeak aliases, because why not
)
```
2. Reload the source file or restart your Terminal session:
2. Restart your terminal session or restart the shell:
```console
$ source ~/.zshrc
$ exec zsh
$
```

View file

@ -13,10 +13,10 @@ Easily prefix your current or previous commands with `sudo` by pressing <kbd>esc
)
```
2. Reload the source file or restart your Terminal session:
2. Restart your shell or restart your Terminal session:
```console
$ source ~/.zshrc
$ exec zsh
$
```