{"repo":"reegnz/jq-zsh-plugin","free":true,"listed":false,"github":"https://github.com/reegnz/jq-zsh-plugin","clone":"git clone https://github.com/reegnz/jq-zsh-plugin.git","description":"jq zsh plugin","language":"Shell","stars":362,"topics":["zsh","zsh-plugin","zshell","jq","cli","shell","fzf"],"license":"MIT","category":"cli-tools","readme_excerpt":"jq zsh plugin Interactively build jq expressions (gojq is also supported). This zsh plugin gives you jq superpowers! Fish users: you can use this friendly fork: rmartine-ias/jq-fish-plugin Table of contents - Demos - Installation - Usage - Key bindings Demos Interactive jq query construction Insert jq query in the middle of a pipeline Installation Besides jq, this plugin also requires fzf (a recent version) to be installed and available on your PATH. The following installation methods are proven to work: - Oh My Zsh - zplug - Antigen - Zgen Oh My Zsh 1. Clone the repository: 2. Add the plugin to the list of plugins for Oh My Zsh to load (inside /.zshrc ): 3. Start a new terminal session. zplug Antigen Zgen Usage - type out a command that you expect to produce json on its standard output - press alt + j - start typing jq expression and watch it being evaluated in real time (like a true REPL!) - use up/down and hit tab to select one of the suggestions - or type out a jq query on your own - press enter, and the jq expression is appended to your initial command! Key bindings Bringing up the jq query builder for a shell command: alt + j During interactive querying, the following shortcuts can be used: Shortcut Effect ------------------------ ------------------------------------------------ ctrl-k or up Navigate path queries ctrl-j or down Navigate path queries tab Select path query ctrl-p or shift-up Scroll up ctrl-n or shift-down Scroll down ctrl-alt-p Scroll up half page ctrl-al","default_branch":null,"files":null,"tree":[],"storefront":"/r/reegnz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/reegnz/jq-zsh-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}