[Shell] Set ‘shell-file-name’ depending on system type

More of this to follow
This commit is contained in:
Daniel - 2017-09-12 18:13:42 +02:00
parent b601348690
commit a8c825a619
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 5 additions and 2 deletions

View File

@ -343,6 +343,10 @@
(setq lisp-indent-function 'common-lisp-indent-function)
(setq shell-file-name (if (eq system-type 'windows-nt)
"C:/Programme/cygwin64/bin/bash.exe"
"/usr/bin/zsh"))
;; * Basic Builtin Packages
@ -896,8 +900,7 @@ _h_ _l_ _o_k _y_ank
(use-package term
:commands (term-send-string)
:config (progn
(setq explicit-shell-file-name "/usr/bin/zsh"
shell-file-name "/usr/bin/zsh")
(setq explicit-shell-file-name shell-file-name)
(add-hook 'term-exec-hook ; oremacs.com
(lambda ()