aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/get_password.sh
blob: e1b39d9267338376c6d3c28295ee2e358988c215 (plain) (blame)
1
2
3
4
5
6
7
#!/usr/bin/env bash

shopt -s expand_aliases
# alias list_passwords='dmenu'
alias list_passwords='rofi -dmenu'

pass -c $(find $HOME/.password-store -type f -iname *gpg | sed 's/.*password-store\/\(.*\).gpg/\1/' | sort | list_passwords)