Releases: reegnz/jq-zsh-plugin
Releases · reegnz/jq-zsh-plugin
v0.6.1
What's Changed
- Fix broken zsh syntax produced by shfmt by @jochenwierum in #33
- Add JQ_PATHS_ARGS to jq-paths by @Gerrit-K in #34
- Use
env
to findbash
by @EricCrosson in #35
New Contributors
- @jochenwierum made their first contribution in #33
- @Gerrit-K made their first contribution in #34
- @EricCrosson made their first contribution in #35
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Strip trailing pipe from line buffer by @adriangoransson in #28
- fix trailing pipe handling on macs by @reegnz in #29
New Contributors
- @adriangoransson made their first contribution in #28
Full Changelog: v0.5.1...v0.6.0
v0.5.1 bugfix release
v0.5.0
0.4.0: improved completion suggestions
The completions provided by jq-repl were not always usable.
Example, for an object like this:
{
"a": {
"hello": "there",
"AABB": "CC",
"abc123ZZZ": "cool",
"5day": "next",
"abc-123": "test",
"aaa/bbb": "whatever"
}
}
We used to generate completions like this:
.
.a
.a.5day
.a.AABB
.a.aaa/bbb
.a.abc-123
.a.abc123ZZZ
.a.hello
Note, that things like .a.aaa/bbb
and .a.abc-123
are invalid jq expressions.
With this release the produced completion output is now improved to recognize these issues and produce a more sophisticated completion output, like this:
.
.a
.a.AABB
.a["5day"]
.a["aaa/bbb"]
.a["abc-123"]
.a.abc123ZZZ
.a.hello
0.3.0: gojq support
Allow using gojq instead of jq
0.2.1: fix jq-paths script
Fix /usr/bin/env use in jq-paths script Fixes #11
0.2.0: support shell alias expansion
jq-zsh-plugin now works with zsh aliases!
Example:
alias k='kubecdl'
alias pods='k get pods -A -o json'
pods <alt+j>
If you don't want automatic shell alias expansion, then put this in your .zshrc
:
JQ_ZSH_PLUGIN_EXPAND_ALIASES=0
v0.1.1: Fix paths not showing when file contains spaces
This was a regression after introducting refresh.
v0.1.0: Add reload feature
The plugin has been pretty stable so it makes sense to start doing releases.
New features since inception:
- jq paths in fuzzy-search, tab-to-complete after selection
- ctrl+r to re-run shell command and get updated JSON