From 414472cb9ee8fca541e5e9239d651b35843e4e5c Mon Sep 17 00:00:00 2001 From: Sebastian Wiesner Date: Tue, 13 Oct 2015 12:10:28 +0200 Subject: [PATCH] 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. --- layers/shell/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/shell/config.el b/layers/shell/config.el index 18003cf6d..ede419d85 100644 --- a/layers/shell/config.el +++ b/layers/shell/config.el @@ -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