tools/magit: set magithub-dir sooner (prevent .emacs.d/magithub)

This commit is contained in:
Henrik Lissner 2018-03-28 03:06:51 -04:00
parent 4bafe29722
commit 375547d1b3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -33,9 +33,10 @@
(def-package! magithub
:commands (magithub-clone magithub-feature-autoinject)
:after magit
:preface
(setq magithub-dir (concat doom-etc-dir "magithub/"))
:init
(setq magithub-dir (concat doom-etc-dir "magithub/")
magithub-clone-default-directory "~/"
(setq magithub-clone-default-directory "~/"
magithub-preferred-remote-method 'clone_url)
:config
(load "magithub-autoloads" nil t)