From e94756ec665a16fc35cfdfd397782520c29e346d Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 1 Dec 2020 22:00:39 -0600 Subject: Add auth-sources to magit I have to input my username, but then it picks my password up from auth-sources. --- config.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index b2a26fb..340383d 100644 --- a/config.org +++ b/config.org @@ -1360,7 +1360,10 @@ The magical porcelain. :bind ("C-x g" . magit-status) :custom-update - (magit-no-confirm '(stage-all-changes))) + (magit-no-confirm '(stage-all-changes)) + :config + (add-hook 'magit-process-find-password-functions + #'magit-process-password-auth-source)) #+end_src *** Hook into =prescient= -- cgit 1.4.1-21-gabe81