feat(plugins): add grc plugin for Generic Colouriser (#9315)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
This commit is contained in:
Mark Mercado 2020-12-09 11:59:12 -05:00 committed by GitHub
commit e5af22cca6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 81 additions and 0 deletions

37
plugins/grc/README.md Normal file
View file

@ -0,0 +1,37 @@
# Generic Colouriser plugin
This plugin adds wrappers for commands supported by [Generic Colouriser](https://github.com/garabik/grc):
To use it, add `grc` to the plugins array in your zshrc file:
```zsh
plugins=(... grc)
```
## Commands
The following commands are wrapped by `grc` so that their output is automatically colored:
- `cc`
- `configure`
- `cvs`
- `df`
- `diff`
- `dig`
- `gcc`
- `gmake`
- `ifconfig`
- `iwconfig`
- `last`
- `ldap`
- `make`
- `mount`
- `mtr`
- `netstat`
- `ping`
- `ping6`
- `ps`
- `traceroute`
- `traceroute6`
- `wdiff`
- `whois`