purcell / exec-path-from-shell

Make Emacs use the $PATH set up by the user's shell
Other
1.41k stars 81 forks source link

Conflicts with fish-shell #21

Closed Nek closed 9 years ago

Nek commented 9 years ago

The problem is fish-shell uses space as a separator inside PATH env var. The package can't parse it and in the end exec-path has just one element which is just a copy of PATH env var.

My ad-hoc solution is appending this to my init.el:

(setq exec-path (split-string (car exec-path)))
purcell commented 9 years ago

This is a duplicate of #9, and was confirmed fixed a while ago, so I'm not sure why you're seeing problems. Do you have the latest version of the code?

Nek commented 9 years ago

Sorry for the duplicate. I'll check the version.

Nek commented 9 years ago

It was outdated. By the way the latest version from marmalade (1.7) gave me the same error. The melpa's version worked fine though.

Thanks for the tip!

purcell commented 9 years ago

There's a version on Marmalade? Oh, I should probably update it. There'll always be a stable version on MELPA Stable, so you can combine Marmalade with MELPA Stable if you like.

Nek commented 9 years ago

I've used the one with a date-coded version name. I'll move to the version 1.8.

purcell commented 9 years ago

The date-coded version probably came from MELPA originally, then, but the version actually there now will always be up-to-date.