Fork me on GitHub
#spacemacs
<
2017-02-05
>
Sam H15:02:37

za should work if you're in evil mode

twashing23:02:22

Hey @ag (and anyone else in the know) I'm using the latest version of spacemacs on MacOS.

twashing23:02:28

And I can't get it to pick up the $PATH on my host system.

twashing23:02:38

So when I try to run a command like M-x magit-status, I get the error message.

apply: Searching for program: No such file or directory, git

twashing23:02:48

I've tried the below configuration, but no dice.

(let ((path (shell-command-to-string ". ~/.bash_profile; echo -n $PATH")))
  (setenv "PATH" path)
  (setq exec-path 
        (append
         (split-string-and-unquote path ":")
         exec-path)))

twashing23:02:34

… Anyone know howto solve this?

twashing23:02:03

But I’m trying to transition to spacemacs. And this is a blocker.

ag23:02:07

check the version of emacs you’re using. It’s recommended to use emacs-plus tap https://github.com/d12frosted/homebrew-emacs-plus on os x.

twashing23:02:56

@ag Ok, lemme try