I'm using emacs 26.1 and spacemacs (emacs-plus from homebrew and spacemacs is from the develop branch). I've configured my local shell to use ZSH from homebrew as well (installed to /usr/local/bin/zsh).

When I start emacs, (getenv SHELL) shows /bin/bash.

The first expression in dotspacemacs/user-init is:

(when (memq window-system '(mac ns x))
  (setenv "SHELL" "/usr/local/bin/zsh")

What's the appropriate way to get emacs/spacemacs to pick up the local environment?

bumped to the homepage by Community 2 days ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


This appears to be related to the following bug https://github.com/syl20bnr/spacemacs/issues/10906

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.