From 610b2529d2213a70e3d1153a9baf046c22f298b9 Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Wed, 11 Mar 2020 19:57:46 +0100 Subject: Clean up plugin READMEs and a few plugins - fasd - history - mercurial - pylint - repo - yii2 --- plugins/sudo/README.md | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'plugins/sudo/README.md') 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 esc 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 -- cgit v1.2.3-70-g09d2