gpg: Use Emacs for pinentry
parent
ebe1d17619
commit
816a852f6e
|
@ -43,11 +43,15 @@
|
|||
|
||||
(with-eval-after-load 'em-term
|
||||
(nconc eshell-visual-commands
|
||||
'("abook" "alsamixer" "cmus" "fzf" "htop" "mpsyt" "mpv" "mutt" "ncdu" "newsbeuter" "ranger" "watch"))
|
||||
'("abook" "alsamixer" "cmus" "fzf" "htop" "mpsyt" "mpv" "mutt" "ncdu" "newsbeuter" "pinentry-curses" "ranger" "watch"))
|
||||
(setq eshell-visual-subcommands
|
||||
'(("git" "log" "l" "lol" "diff" "d" "dc" "show")
|
||||
("sudo" "vi"))))
|
||||
|
||||
;;; Support for Emacs' pinentry
|
||||
(setq epa-pinentry-mode 'loopback)
|
||||
(pinentry-start)
|
||||
|
||||
;;; Alias management possibilities:
|
||||
;;; - Version eshell-alias and store it in user-emacs-directory. Simplest and
|
||||
;;; fastest, but aliases cannot be included conditionnaly, e.g. depending on the
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
pinentry-program /usr/bin/pinentry-curses
|
||||
pinentry-program /usr/bin/pinentry-emacs
|
||||
allow-emacs-pinentry
|
||||
allow-loopback-pinentry
|
||||
|
|
Loading…
Reference in New Issue