mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-14 02:42:46 +00:00
6 lines
132 B
Plaintext
6 lines
132 B
Plaintext
|
#!/bin/sh
|
||
|
in=$(mktemp)
|
||
|
cat /dev/stdin > "$in"
|
||
|
fzf --preview-window='up:99%' --preview "jq --color-output -r {q} $in $1"
|
||
|
rm -f "$in"
|