Re:Zq: An easier and faster alternative to jq
by rgoodwintx on Tuesday April 26, 2022 @12:23PM
(#31169435)
Here because.... I didn't know of ctrl-R. What a life changer (although I had an alias for "hg" to "history | grep" :) )
[ Parent
| on HN ]
Re:Zq: An easier and faster alternative to jq
by kalev on Tuesday April 26, 2022 @12:27PM
(#31169492)
Please check FZF [1] and it’s integration with ctrl-r. It’s a huge productivity boost and I cannot live without it.
Re:Zq: An easier and faster alternative to jq
by rgoodwintx on Wednesday April 27, 2022 @11:19AM
(#31181003)
I think I actually HAVE fzf installed, thus my first experience w/ Ctrl-R was even better! I really haven't fully grok'ed fzf yet though, probably should look up some guides.
Re:Zq: An easier and faster alternative to jq
by carlhjerpe on Tuesday April 26, 2022 @03:51PM
(#31172321)
There's also McFly[1] that does interactive history search.
[1]: https://github.com/cantino/mcfly
Re:Zq: An easier and faster alternative to jq
by mathfailure on Tuesday April 26, 2022 @09:18PM
(#31175143)
This sounds quite awesome, it's a pity that the realization is quite 'alien' to unix way of things. IMO shell commands history should be a database by default, not just a single file that gets auto-appended with both awesome commands and crap you don't really want to get stored for later.
Thanks for linking this project, will try it, it may be a game changer.