1

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")
  (exec-path-from-shell-initialize))

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

1

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.