Browse Source

Disabled the Windows config

Windows configuration was causing issues. Looking into how to get magit
to play nicely without dealing in trying to slave msys zsh to my emacs
session. Windows makes this stuff too complicated sometimes.
master
Drew Short 9 years ago
parent
commit
45fb33f11e
  1. 20
      home/.emacs.d/init.el

20
home/.emacs.d/init.el

@ -127,16 +127,16 @@
(defun windows-config () (defun windows-config ()
;; When running in Windows, we want to use an alternate shell so we ;; When running in Windows, we want to use an alternate shell so we
;; can be more unixy. ;; can be more unixy.
(setq shell-file-name "c:/Tools/msys64/usr/bin/zsh")
(setq explicit-shell-file-name shell-file-name)
(setq explicit-zsh-args '("--login" "-i")) ; Make sure the shell is in the home
(setenv "HOME" "c:/tools/msys64/home/neria") ; Set the home environment correctly
(setenv "PATH"
(concat ".:/usr/local/bin:/msys64/bin:/bin:"
(replace-regexp-in-string " " "\\\\ "
(replace-regexp-in-string "\\\\" "/"
(replace-regexp-in-string "\\([A-Za-z]\\):" "/\\1"
(getenv "PATH")))))))
;(setq shell-file-name "c:/Tools/msys64/usr/bin/zsh")
;(setq explicit-shell-file-name shell-file-name)
;(setq explicit-zsh-args '("-i")) ; Make sure the shell is in the home
;(setenv "HOME" "c:/tools/msys64/home/neria")) ; Set the home environment correctly
;(setenv "PATH"
;(concat ".:/usr/local/bin:/msys64/bin:/bin:"
;(replace-regexp-in-string "/////" "\\\\ "
;(replace-regexp-in-string "\\\\" "/"
;(replace-regexp-in-string "\\([A-Za-z]\\):" "/\\1"
;(getenv "PATH")))))))
;; Windows specific configurations ;; Windows specific configurations
;(cond ;(cond

Loading…
Cancel
Save