Get GitHub token for Paradox from password-store instead of authinfo

This commit is contained in:
Gergely Polonkai 2021-03-18 06:22:24 +01:00
parent ebc2d58aa7
commit 34222ea853
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4

View File

@ -2439,8 +2439,7 @@ I dont always use the package menu, but when i do, i want to do it in style
#+begin_src emacs-lisp
(use-package paradox
:config
(setq paradox-github-token
(cadr(auth-source-user-and-password "api.github.com" "gergelypolonkai^paradox")))
(setq paradox-github-token (password-store-get "github.com/paradox"))
:custom
(paradox-lines-per-entry 2)
(paradox-automatically-star t)