From c130aadb6a66aa680a322c08d87ad773316f713d Mon Sep 17 00:00:00 2001 From: Jacob Tomaw Date: Tue, 19 Nov 2019 13:44:00 -0500 Subject: 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`. --- plugins/sudo/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/sudo') 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 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 $ ``` -- cgit v1.2.3-70-g09d2