diff --git a/modules/common/shell/fish/default.nix b/modules/common/shell/fish/default.nix index 1e5e7f8..029bf2a 100644 --- a/modules/common/shell/fish/default.nix +++ b/modules/common/shell/fish/default.nix @@ -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";