mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 18:44:52 +00:00
jqr for jq preview repl
based on: https://gist.github.com/reegnz/b9e40993d410b75c2d866441add2cb55
This commit is contained in:
parent
ca1c7cc23f
commit
7007577176
@ -59,6 +59,10 @@
|
||||
description = "Tidy up JSON using jq";
|
||||
body = "pbpaste | jq '.' | pbcopy"; # Need to fix for non-macOS
|
||||
};
|
||||
jqr = {
|
||||
description = "jq repl for constructing jq syntax";
|
||||
body = "echo '' | fzf --query '.' --print-query --preview \"jq {q} < $argv\"";
|
||||
};
|
||||
note = {
|
||||
description = "Edit or create a note";
|
||||
argumentNames = "filename";
|
||||
|
Loading…
Reference in New Issue
Block a user