mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +03:00
fix(mail): account for password-store reorder
This commit is contained in:
parent
00ca2648ed
commit
4d922dad49
1 changed files with 6 additions and 3 deletions
9
Mail.org
9
Mail.org
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue