diff options
author | 2018-06-19 11:13:05 -0700 | |
---|---|---|
committer | 2018-06-19 11:13:05 -0700 | |
commit | 197e3040c3f0f102803ff769a6ee2a301a0c0f0d (patch) | |
tree | 395a457d61aa17fc4a83f88a1fef4093db0a59db /emacs | |
parent | daf8391edf5bd8c01ced93e1d4c3bf451f6b596a (diff) | |
download | new-dotfiles-197e3040c3f0f102803ff769a6ee2a301a0c0f0d.tar.gz new-dotfiles-197e3040c3f0f102803ff769a6ee2a301a0c0f0d.zip |
Set the magit git executable in windows
Diffstat (limited to 'emacs')
-rw-r--r--[-rwxr-xr-x] | emacs/.emacs.d/site-lisp/oni-windows-nt.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/emacs/.emacs.d/site-lisp/oni-windows-nt.el b/emacs/.emacs.d/site-lisp/oni-windows-nt.el index dac328d..427bbb6 100755..100644 --- a/emacs/.emacs.d/site-lisp/oni-windows-nt.el +++ b/emacs/.emacs.d/site-lisp/oni-windows-nt.el @@ -25,9 +25,13 @@ ;;; Code:
(eval-when-compile
+ (require 'package)
+ (package-initialize)
+
(require 'find-dired)
(require 'ivy)
- (require 'grep))
+ (require 'grep)
+ (require 'magit))
(defun oni-windows-nt--disable-ivy (orig-fun &rest args)
"Disable ivy while running ORIG-FUN with ARGS."
@@ -58,5 +62,8 @@ (with-eval-after-load 'grep
(add-function :around (symbol-function 'grep-read-files) #'oni-windows-nt--disable-ivy))
+(with-eval-after-load 'magit
+ (setq magit-git-executable "c:/msys64/usr/bin/git.exe"))
+
(provide 'oni-windows-nt)
;;; oni-windows-nt.el ends here
|