Update otp entry fmt
This commit is contained in:
parent
cb9b0d755d
commit
b3baccf927
@ -2,4 +2,4 @@
|
||||
|
||||
FILES=(~/.password-store/**/*.gpg)
|
||||
PASS="$(for i in $FILES; do print ${${i#*/.password-store/}%.gpg}; done | dmenu -i -l 30 -p 'Password/OTP')"
|
||||
[ ! -z $PASS ] && pass $([ -z ${PASS#*-otp} ] && <<< otp) $PASS -c
|
||||
[ ! -z $PASS ] && pass $([ -z ${PASS#*/otp} ] && <<< otp) $PASS -c
|
||||
|
Loading…
Reference in New Issue
Block a user