diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-04-21 14:30:34 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-04-21 14:30:34 -0400 |
commit | 3cd146ae91d6c718c9902b7714fecc29a7903b20 (patch) | |
tree | 6f87b653c377451005d42995e149da5b732881f6 | |
parent | 09c4bf1b86953b719d74085305351447f67cd83d (diff) |
pass fix?
-rwxr-xr-x | mw | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -168,9 +168,8 @@ EOF trysync && finalize } -getpass() { 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"; done;} +getpass() { while : ; do pass rm -f "mutt-wizard-$title" >/dev/null 2>&1 + pass insert "mutt-wizard-$title" && break; done ;} formatShortcut() { \ while read -r data; do { echo "macro index,pager g$1 \"<change-folder>$data<enter>\" \"go to $2\" # autogenerated" |