1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 14:20:08 +00:00

docs(jsontools): document requirements

Fixes #10834
This commit is contained in:
Marc Cornellà 2024-10-27 15:13:05 +01:00
parent eeb01c18c1
commit 45516ca1d8
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B

View file

@ -8,6 +8,17 @@ To use it, add `jsontools` to the plugins array in your zshrc file:
plugins=(... jsontools)
```
## Requirements
The plugin uses one of these tools to process JSON data, in the following order:
- `node`
- `python3`
- `ruby`
Any of these must be in `$PATH` before the plugin is loaded, otherwise the plugin exits
prematurely and the functions will not be available.
## Usage
Usage is simple... just take your json data and pipe it into the appropriate jsontool: