mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-14 04:34:22 +08: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:
1 parent
1ba0af650a
commit
c130aadb6a
5 files changed
+10
-10
No files matched your search
@@ -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
|
||||
$
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user