Use login shell as term shell

shell-file-name provides the "best" shell Emacs knows about, i.e. the
login shell from $SHELL, or a system default, which is just about as
arbitrary as the current default to /bin/bash.
This commit is contained in:
Sebastian Wiesner 2015-10-13 12:10:28 +02:00 committed by syl20bnr
parent fa23d9453b
commit 414472cb9e

View file

@ -31,7 +31,7 @@
(defvar shell-default-height 30
"Height in percents for the shell window.")
(defvar shell-default-term-shell "/bin/bash"
(defvar shell-default-term-shell shell-file-name
"Default shell to use in `term' and `ansi-term' shells.")
(defvar shell-enable-smart-eshell nil