diff options
author | Jacob Tomaw <jtomaw@shoprunner.com> | 2019-11-19 13:44:00 -0500 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2019-11-19 19:44:00 +0100 |
commit | c130aadb6a66aa680a322c08d87ad773316f713d (patch) | |
tree | 40e6fd4efcdbc3cfbae464c418869ce286cfbbc0 /plugins/sudo | |
parent | 1ba0af650ac575a7d35b10146d2e7a7b3b2e2ae6 (diff) | |
download | zsh-c130aadb6a66aa680a322c08d87ad773316f713d.tar.gz zsh-c130aadb6a66aa680a322c08d87ad773316f713d.tar.bz2 zsh-c130aadb6a66aa680a322c08d87ad773316f713d.zip |
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`.
Diffstat (limited to 'plugins/sudo')
-rw-r--r-- | plugins/sudo/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sudo/README.md b/plugins/sudo/README.md index ebfdfd10d..25eb85829 100644 --- a/plugins/sudo/README.md +++ b/plugins/sudo/README.md @@ -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 $ ``` |