Created
June 24, 2019 09:28
-
-
Save erthalion/7f82cfaaf3acf6c4a44fa73c711b409d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
FILE=$1 | |
cat $FILE | jq -c 'paths' | fzf --preview "cat $FILE | jq getpath\({}\) | bat -l json --color=always --style=grid" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment