God, Love, News, Event, Entertainment, Amebo,..... All about Bringing out the best in you...
Show HN: Interactive jq, but it's a bash script using fzf https://ift.tt/fpadIqA
Show HN: Interactive jq, but it's a bash script using fzf I was searching for an interactive jq editor when I came across this repo [1], which had an intriguing suggestion for a CLI using only fzf: echo '' | fzf --print-query --preview "cat *.json | jq {q}" This sent me down a rabbit hole, and I discovered just how incredibly configurable fzf is. For instance: - `--bind=ctrl-y:execute-silent(jq {q} $tempfile | pbcopy)`: You can bind custom keys to execute non-default behaviors, like copying the current selection or `echo`-ing. - `--query="."`: Start fzf with an initial query (e.g., `.` for jq queries) to streamline the experience. - `--preview-window=top:90%:wrap`: You can configure fzf into different layouts, behaviors, and ANSI colors. - `--header=$'ctrl+y : copy JSON\nctrl+f : copy filter\nenter : output\nesc : exit' \`: fzf supports multi-line header to provide instructions or context for the user right in the interface. [1]: https://ift.tt/9goFTbh... https://ift.tt/ePm4XBb January 31, 2025 at 12:05AM
Subscribe to:
Post Comments (Atom)
Show HN: voidDB – A transactional key-value DB written in Go for 64-bit Linux https://ift.tt/tNRyhdn
Show HN: voidDB – A transactional key-value DB written in Go for 64-bit Linux https://ift.tt/qpDZoSA January 31, 2025 at 03:45AM
-
HOMILY FOR FRIDAY, 14TH JUNE, 2024 TENTH WEEK IN ORDINARY TIME 1KING 19:9a. 11-16; GOSPEL: MATT 5:27-32 The conscience of man is where moral...
-
HOMILY FOR TUESDAY, 11TH WEEK IN ORDINARY TIME 1Kings 21:17-29; Matt 5:43-48 The last phrase of the gospel passage says “Be perfect just a...
-
submitted by /u/Erik_John09 [link] [comments] source https://www.reddit.com/r/worldnews/comments/gb8omp/brazil_president_jair_bolson...
No comments:
Post a Comment