summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Tomaw <jtomaw@shoprunner.com>2019-11-19 13:44:00 -0500
committerMarc Cornellà <marc.cornella@live.com>2019-11-19 19:44:00 +0100
commitc130aadb6a66aa680a322c08d87ad773316f713d (patch)
tree40e6fd4efcdbc3cfbae464c418869ce286cfbbc0
parent1ba0af650ac575a7d35b10146d2e7a7b3b2e2ae6 (diff)
downloadzsh-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`.
-rw-r--r--plugins/catimg/README.md4
-rw-r--r--plugins/dircycle/README.md4
-rw-r--r--plugins/encode64/README.md4
-rw-r--r--plugins/lol/README.md4
-rw-r--r--plugins/sudo/README.md4
5 files changed, 10 insertions, 10 deletions
diff --git a/plugins/catimg/README.md b/plugins/catimg/README.md
index 2fc28a1c6..42b59a62c 100644
--- a/plugins/catimg/README.md
+++ b/plugins/catimg/README.md
@@ -17,10 +17,10 @@ Plugin for displaying images on the terminal using the the `catimg.sh` script pr
)
```
-2. Reload the source file or restart your Terminal session:
+2. Restart the shell or restart your Terminal session:
```console
- $ source ~/.zshrc
+ $ exec zsh
$
```
diff --git a/plugins/dircycle/README.md b/plugins/dircycle/README.md
index 3ac162f05..3c9b3a96f 100644
--- a/plugins/dircycle/README.md
+++ b/plugins/dircycle/README.md
@@ -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
$
```
diff --git a/plugins/encode64/README.md b/plugins/encode64/README.md
index 9850da85f..66fc7cba4 100644
--- a/plugins/encode64/README.md
+++ b/plugins/encode64/README.md
@@ -20,10 +20,10 @@ Alias plugin for encoding or decoding using `base64` command
)
```
-2. Restart your terminal session or reload configuration by running:
+2. Restart your terminal session or restart the shell:
```sh
- source ~/.zshrc
+ exec zsh
```
## Usage and examples
diff --git a/plugins/lol/README.md b/plugins/lol/README.md
index b0e54f575..8fba7b713 100644
--- a/plugins/lol/README.md
+++ b/plugins/lol/README.md
@@ -13,10 +13,10 @@ Plugin for adding catspeak aliases, because why not
)
```
-2. Reload the source file or restart your Terminal session:
+2. Restart your terminal session or restart the shell:
```console
- $ source ~/.zshrc
+ $ exec zsh
$
```
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
$
```