1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-27 15:36:49 +00:00
dotfiles/bin/jqf

6 lines
132 B
Bash
Executable file

#!/bin/sh
in=$(mktemp)
cat /dev/stdin > "$in"
fzf --preview-window='up:99%' --preview "jq --color-output -r {q} $in $1"
rm -f "$in"