mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-05-11 05:55:17 +00:00
Clean up plugin READMEs and a few plugins
- fasd - history - mercurial - pylint - repo - yii2
This commit is contained in:
@@ -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=(... sudo)
|
||||
```
|
||||
|
||||
```zsh
|
||||
plugins=(
|
||||
# all your enabled plugins
|
||||
sudo
|
||||
)
|
||||
```
|
||||
|
||||
2. Restart your shell or restart your Terminal session:
|
||||
|
||||
```console
|
||||
$ exec zsh
|
||||
$
|
||||
```
|
||||
|
||||
## Usage examples
|
||||
## Usage
|
||||
|
||||
### Current typed commands
|
||||
|
||||
|
||||
Reference in New Issue
Block a user