Chris Maier <christopher.ma...@gmail.com> writes: >> (if window-system (set-exec-path-from-shell-PATH)) > > This was a huge help for me, but I had to replace the "-i" flag with > "--login" in order to fully replicate my path that I see in Terminal. > I have a few things set in /etc/paths.d (TeX, X11, and git, > specifically), and these get added into the path using Apple's > /usr/libexec/path_helper command, but only for login shells. > > If I use "-i", I'll get path settings from my ~/.bashrc file, but > nothing from /etc/paths.d. If I use "--login", I get path settings > from ~/.bash_profile and /etc/paths.d. I source ~/.bashrc from > ~/.bash_profile, so that gets me everything I need. > > (PS: I'm running GNU Emacs 23.2 on Snow Leopard 10.6.4)
Thanks for that -- good catch. I'll probably replace -i with --login myself too. -Steve -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en