c130aadb6a66aa680a322c08d87ad773316f713d

Author
Jacob Tomaw <jtomaw@shoprunner.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

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`.

Diff

 1diff --git a/plugins/catimg/README.md b/plugins/catimg/README.md
 2index 2fc28a1c606fcd21423523afec6efb7bfdbf8690..42b59a62c3db3ac955471aff6203dee3da2d9487 100644
 3--- a/plugins/catimg/README.md
 4+++ b/plugins/catimg/README.md
 5@@ -17,10 +17,10 @@ Plugin for displaying images on the terminal using the the `catimg.sh` script pr
 6    )
 7    ```
 8 
 9-2. Reload the source file or restart your Terminal session:
10+2. Restart the shell or restart your Terminal session:
11 
12    ```console
13-   $ source ~/.zshrc
14+   $ exec zsh
15    $
16    ```
17 
18diff --git a/plugins/dircycle/README.md b/plugins/dircycle/README.md
19index 3ac162f05e88febbc6627a7ce6e8373eb7100fa9..3c9b3a96f6533e821f688ade77c9715168103380 100644
20--- a/plugins/dircycle/README.md
21+++ b/plugins/dircycle/README.md
22@@ -15,10 +15,10 @@ This plugin enables directory navigation similar to using back and forward on br
23    )
24    ```
25 
26-2. Reload the source file or restart your Terminal session:
27+2. Restart the shell or restart your Terminal session:
28 
29    ```console
30-   $ source ~/.zshrc
31+   $ exec zsh
32    $
33    ```
34 
35diff --git a/plugins/encode64/README.md b/plugins/encode64/README.md
36index 9850da85f3fae60688c039c5371fdd8bfbf3902f..66fc7cba49abb59bd022188e3a159ff7ccb4eb7d 100644
37--- a/plugins/encode64/README.md
38+++ b/plugins/encode64/README.md
39@@ -20,10 +20,10 @@ Alias plugin for encoding or decoding using `base64` command
40    )
41    ```
42 
43-2. Restart your terminal session or reload configuration by running:
44+2. Restart your terminal session or restart the shell:
45 
46    ```sh
47-   source ~/.zshrc
48+   exec zsh
49    ```
50 
51 ## Usage and examples
52diff --git a/plugins/lol/README.md b/plugins/lol/README.md
53index b0e54f57529c8c571e0535224d70bcb2fc9f5c6c..8fba7b713ede3a83981cc0a8efe55b8fda937e71 100644
54--- a/plugins/lol/README.md
55+++ b/plugins/lol/README.md
56@@ -13,10 +13,10 @@ Plugin for adding catspeak aliases, because why not
57    )
58    ```
59 
60-2. Reload the source file or restart your Terminal session:
61+2. Restart your terminal session or restart the shell:
62 
63    ```console
64-   $ source ~/.zshrc
65+   $ exec zsh
66    $
67    ```
68 
69diff --git a/plugins/sudo/README.md b/plugins/sudo/README.md
70index ebfdfd10d50b8108b8394bdb548cd23a942b98fb..25eb858293760118d3868f25d3d795e86f5dfeb3 100644
71--- a/plugins/sudo/README.md
72+++ b/plugins/sudo/README.md
73@@ -13,10 +13,10 @@ Easily prefix your current or previous commands with `sudo` by pressing <kbd>esc
74     )
75     ```
76 
77-2.  Reload the source file or restart your Terminal session:
78+2.  Restart your shell or restart your Terminal session:
79 
80     ```console
81-    $ source ~/.zshrc
82+    $ exec zsh
83     $
84     ```
85