Magit: Fix pinentry not recognised

This commit is contained in:
Swarsel 2024-05-22 03:33:20 +02:00
parent 60eb5e4b35
commit ca08aef2ad
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
9 changed files with 39 additions and 6 deletions

View file

@ -1127,6 +1127,10 @@
:custom
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) ; stay in the same window
;; yubikey support for pushing commits
;; commiting is enabled through nixos gpg-agent config
(setenv "SSH_AUTH_SOCK" (string-chop-newline (shell-command-to-string "gpgconf --list-dirs agent-ssh-socket")))
(use-package forge
:after magit)