I am new to Spacemacs and eshell.
I try to open eshell via the default shortcut key
SPC ' but it opens the bash shell:
[wolfv@localhost ~] $ message "hello" bash: message: command not found...
I was expecting the eshell.
SPC a s e opens eshell as expected:
~ λ message "hello" hello
I followed the install instructions on https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Btools/shell#default-shell
My ~/.spacemacs file has the following lines in dotspacemacs-configuration-layers:
shell (shell :variables shell-default-height 30 shell-default-position 'bottom)
and the following lines in defun dotspacemacs/user-config ():
(setq-default dotspacemacs-configuration-layers '((shell :variables shell-default-shell 'eshell)))
I found the problem by trouble shooting, but don't know how to fix it.
After restarting Spacemacs, shell-default-shell help says:
shell-default-shell is a variable defined in ‘config.el’. Its value is ‘ansi-term’
I was expecting its value to be ‘eshell’.
Apparently the above mentioned defun dotspacemacs/user-config () entry did not work.
How to make shell-default-shell value be ‘eshell’?