aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/get_password.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/.local/bin/get_password.sh b/.local/bin/get_password.sh
index 63747be..e1b39d9 100755
--- a/.local/bin/get_password.sh
+++ b/.local/bin/get_password.sh
@@ -1,2 +1,7 @@
#!/usr/bin/env bash
-pass -c $(find $HOME/.password-store -type f -iname *gpg | sed 's/.*password-store\/\(.*\).gpg/\1/' | sort | rofi -dmenu)
+
+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)