Skip to content

Instantly share code, notes, and snippets.

@rickythefox
Last active October 16, 2025 21:09
Show Gist options
  • Save rickythefox/ea6398fbe1d7343db25c61d4fa8b96d7 to your computer and use it in GitHub Desktop.
Save rickythefox/ea6398fbe1d7343db25c61d4fa8b96d7 to your computer and use it in GitHub Desktop.
Search 1password using 1password cli and fzf then display the selected item
op item list | tail -n +2 | sort -k2 | fzf --query="$argv" | awk '{print $1}' | xargs op item get --reveal
# $argv is the arguments passed, I'm using this in a fish shell function, hence $argv.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment