mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 07:14: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
@@ -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
|
||||
$
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user