new directory
This commit is contained in:
parent
01d1aeccbd
commit
d145aeea33
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
|
|||
|
||||
# Ask for password name in vault
|
||||
password="$(find "$PASSWORD_STORE_DIR" -type f -name '*.gpg' |
|
||||
sed 's/.*\/\(.*\)\.gpg$/\1/' | menu "OTP:")"
|
||||
sed "s@$PASSWORD_STORE_DIR/@@g ; s@.gpg@@g" | menu "Password:")"
|
||||
|
||||
# Exit if none chosen
|
||||
[ -z "$password" ] && exit
|
||||
|
|
|
@ -5,7 +5,7 @@ PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
|
|||
|
||||
# Ask for password name in vault
|
||||
password="$(find "$PASSWORD_STORE_DIR" -type f -name '*.gpg' |
|
||||
sed 's/.*\/\(.*\)\.gpg$/\1/' | menu "Password:")"
|
||||
sed "s@$PASSWORD_STORE_DIR/@@g ; s@.gpg@@g" | menu "Password:")"
|
||||
|
||||
# Exit if none chosen
|
||||
[ -z "$password" ] && exit
|
||||
|
|
Loading…
Reference in a new issue