summaryrefslogtreecommitdiff
path: root/plugins/sudo
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-03-11 19:57:46 +0100
committerMarc Cornellà <marc.cornella@live.com>2020-03-11 19:57:46 +0100
commit610b2529d2213a70e3d1153a9baf046c22f298b9 (patch)
tree75278ef17f12844d6810a40250b4f93abd5dd86c /plugins/sudo
parentff6d111d793970fc522dd3743367a4c3c46f5fc2 (diff)
downloadzsh-610b2529d2213a70e3d1153a9baf046c22f298b9.tar.gz
zsh-610b2529d2213a70e3d1153a9baf046c22f298b9.tar.bz2
zsh-610b2529d2213a70e3d1153a9baf046c22f298b9.zip
Clean up plugin READMEs and a few plugins
- fasd - history - mercurial - pylint - repo - yii2
Diffstat (limited to 'plugins/sudo')
-rw-r--r--plugins/sudo/README.md22
1 files changed, 5 insertions, 17 deletions
diff --git a/plugins/sudo/README.md b/plugins/sudo/README.md
index 25eb85829..4f3973ef8 100644
--- a/plugins/sudo/README.md
+++ b/plugins/sudo/README.md
@@ -2,25 +2,13 @@
Easily prefix your current or previous commands with `sudo` by pressing <kbd>esc</kbd> twice
-## Enabling the plugin
+To use it, add `sudo` to the plugins array in your zshrc file:
-1. Open your `.zshrc` file and add `sudo` in the plugins section:
-
- ```zsh
- plugins=(
- # all your enabled plugins
- sudo
- )
- ```
-
-2. Restart your shell or restart your Terminal session:
-
- ```console
- $ exec zsh
- $
- ```
+```zsh
+plugins=(... sudo)
+```
-## Usage examples
+## Usage
### Current typed commands