pass fix?

This commit is contained in:
Luke Smith 2019-04-21 14:30:34 -04:00
parent 09c4bf1b86
commit 3cd146ae91
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

5
mw
View File

@ -168,9 +168,8 @@ EOF
trysync && finalize trysync && finalize
} }
getpass() { pass rm -f "mutt-wizard-$title" >/dev/null 2>&1 getpass() { while : ; do pass rm -f "mutt-wizard-$title" >/dev/null 2>&1
while ! pass ls | grep -o "mutt-wizard-$title$" >/dev/null 2>&1;do pass insert "mutt-wizard-$title" && break; done ;}
pass insert "mutt-wizard-$title"; done;}
formatShortcut() { \ formatShortcut() { \
while read -r data; do { echo "macro index,pager g$1 \"<change-folder>$data<enter>\" \"go to $2\" # autogenerated" while read -r data; do { echo "macro index,pager g$1 \"<change-folder>$data<enter>\" \"go to $2\" # autogenerated"