This commit is contained in:
Thomas von Dein
2017-07-27 15:19:47 +02:00
parent 154a7ad421
commit 74a0c0c455
2 changed files with 468 additions and 445 deletions

9
.emacs
View File

@@ -580,6 +580,7 @@
;; 20170727.01:
;; - +magit
;; - configured magit dirs
;; ** TODO
@@ -4401,6 +4402,14 @@ defun."
(defalias 'git 'magit-status)
(defalias 'gitlog 'magit-log-buffer-file)
;; configure magit
(with-eval-after-load 'magit
(setq tvd-git-dirs)
(dolist (dir (list (expand-file-name "~/D/github")
(expand-file-name "~/dev/git")))
(when (file-exists-p dir)
(add-to-list 'magit-repository-directories (cons dir 1)))))
;; one thing though: on startup it bitches about git version, but it
;; works nevertheless. So I disable this specific warning.

File diff suppressed because it is too large Load Diff