fix(mail): account for password-store reorder

This commit is contained in:
Pavel Korytov 2022-02-17 22:57:47 +03:00
parent 00ca2648ed
commit 4d922dad49

View file

@ -107,12 +107,15 @@ I would use =password-store-get= from password-store.el, but I want this to be a
#+NAME: mail-username #+NAME: mail-username
#+begin_src bash #+begin_src bash
pass show Job/Infrastructure/pvkorytov@etu.ru | sed -n 's/username: //;2p' pass show Job/Digital/Email/pvkorytov@etu.ru | sed -n 's/username: //;2p'
#+end_src #+end_src
#+RESULTS: mail-username
: pvkorytov
#+NAME: mail-password #+NAME: mail-password
#+begin_src bash #+begin_src bash
pass show Job/Infrastructure/pvkorytov@etu.ru | head -n 1 pass show Job/Digital/Email/pvkorytov@etu.ru | head -n 1
#+end_src #+end_src
#+begin_src conf-unix :tangle ~/.offlineimaprc :noweb yes #+begin_src conf-unix :tangle ~/.offlineimaprc :noweb yes
@ -380,7 +383,7 @@ host localhost
port 1025 port 1025
from pvkorytov@etu.ru from pvkorytov@etu.ru
user pvkorytov user pvkorytov
passwordeval "pass show Job/Infrastructure/pvkorytov@etu.ru | head -n 1" passwordeval "pass show Job/Digital/Email/pvkorytov@etu.ru | head -n 1"
#+end_src #+end_src
* Emacs * Emacs
:PROPERTIES: :PROPERTIES: