#!/usr/bin/env bash # Credit goes to https://git.reekynet.com/ReekyMarko/fzf-pass for this. cd "$HOME/.password-store" || exit 1 PASSFILE=$(tree -Ffi \ | grep '.gpg' \ | sed 's/.gpg$//g' \ | sed 's/^..//' \ | fzf --reverse --no-info --prompt='pass::' --pointer='➜' --no-multi ) if [ -z "$PASSFILE" ]; then exit 0 fi RESP=$(cat <