Skip to content

Commit

Permalink
Merge pull request zplug#346 from agross/patch-1
Browse files Browse the repository at this point in the history
Document changes to zplug self-management
  • Loading branch information
zplug-man authored Jan 6, 2017
2 parents 2e06c65 + e57895c commit 951e74d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,13 @@ Finally, use `zplug install` to install your plugins and reload `.zshrc`.

### 1. Options for `zplug`

| Option | Description |
|--------|-------------|
| `--help` | Display the help message |
| `--version` | Display the version of zplug |
| `--log` | Show the error log (for developer) |
| Option | Description |
|-----------------|-------------|
| `--help` | Display the help message |
| `--rollback` | Rollback a failed package |
| `--self-manage` | Self management of zplug |
| `--version` | Display the version of zplug |
| `--log` | Show the report of zplug errors |

### 2. Commands for `zplug`

Expand Down Expand Up @@ -230,7 +232,7 @@ fi
To manage zplug itself like other packages, write the following in your `.zshrc`.

```zsh
zplug "zplug/zplug"
zplug 'zplug/zplug', hook-build:'zplug --self-manage'
```

All that's left is to run `zplug update`.
Expand Down

0 comments on commit 951e74d

Please sign in to comment.