[Bugfix] Fix the way i set Paradox’ GitHub token

The line fetching it from password-store (which i no longer use) was still there, and there was an
extra parentheses which yielded a syntax error.
This commit is contained in:
Gergely Polonkai 2021-11-23 12:27:38 +01:00
parent e47a83c023
commit 3ed99004c3
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 1 additions and 3 deletions

View File

@ -2504,12 +2504,10 @@ 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 (password-store-get "github.com/paradox"))
:custom
(paradox-lines-per-entry 2)
(paradox-automatically-star t)
(paradox-github-token (nth 1 (auth-source-user-and-password "api.github.com" "gergelypolonkai^paradox"))))
(paradox-github-token (nth 1 (auth-source-user-and-password "api.github.com" "gergelypolonkai^paradox")))
:bind
(:map gpolonkai/pers-map
("C-p" . paradox-list-packages)))