Skip to content

Instantly share code, notes, and snippets.

@exosyphon
Created August 15, 2023 22:59
Show Gist options
  • Save exosyphon/68a4d8fcee75a6ac84bd76ec0959ec23 to your computer and use it in GitHub Desktop.
Save exosyphon/68a4d8fcee75a6ac84bd76ec0959ec23 to your computer and use it in GitHub Desktop.
Search JSON results using FZF and preview them
curl -s SOME_ENDPOINT | jq -c '.data[]' | fzf --reverse --header 'Make a selection' --no-height --preview='printf %s {} | jq' -e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment