From 375547d1b320cbbf5f957ed3fa73b9fca2dca111 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 28 Mar 2018 03:06:51 -0400 Subject: [PATCH] tools/magit: set magithub-dir sooner (prevent .emacs.d/magithub) --- modules/tools/magit/config.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/tools/magit/config.el b/modules/tools/magit/config.el index 153921f49..f2c490df7 100644 --- a/modules/tools/magit/config.el +++ b/modules/tools/magit/config.el @@ -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)