1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-17 12:22:57 +00:00
dotfiles/bin/jqf

6 lines
121 B
Plaintext
Raw Normal View History

2022-10-03 03:02:15 +00:00
#!/bin/sh
in=$(mktemp)
2023-09-17 20:58:45 +00:00
cat > "$in"
2022-10-03 03:02:15 +00:00
fzf --preview-window='up:99%' --preview "jq --color-output -r {q} $in $1"
rm -f "$in"