feat(pm2): Adding a pm2 plugin (#7684)

* Add pm2 plugin

* Add description of pm2 plugin
This commit is contained in:
Myoungdo Park
2021-06-14 02:58:44 +09:00
committed by GitHub
parent 241c7dde2b
commit bd5d0066b9
3 changed files with 193 additions and 0 deletions

19
plugins/pm2/README.md Normal file
View File

@@ -0,0 +1,19 @@
# pm2 plugin
The plugin adds several aliases and completions for common [pm2](http://pm2.keymetrics.io/) commands.
To use it, add `pm2` to the plugins array of your zshrc file:
```
plugins=(... pm2)
```
## Aliases
| Alias | Command |
|--------|----------------------|
| p2s | `pm2 start` |
| p2o | `pm2 stop` |
| p2d | `pm2 delete` |
| p2r | `pm2 restart` |
| p2i | `pm2 list` |
| p2l | `pm2 logs` |