unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Vasil <mailing_lists@petervasil.net>
To: Piotr Kalinowski <pitkali@gmail.com>, emacs-devel@gnu.org
Subject: Re: About PATH environment variable on OSX
Date: Fri, 12 Apr 2013 16:07:58 +0200	[thread overview]
Message-ID: <CAJe0aURvrATF+hdH7S5a=4qJ89dv7x531LrYWFW4Tw-5TX2VYQ@mail.gmail.com> (raw)
In-Reply-To: <m2k3o7kjmq.fsf@gmail.com>

Hi,

With this package you can solve the problem without launchctl and set
the PATH within emacs
https://github.com/purcell/exec-path-from-shell

Best,
Peter


On Fri, Apr 12, 2013 at 2:39 PM, Piotr Kalinowski <pitkali@gmail.com> wrote:
> Jan Djärv <jan.h.d@swipnet.se> writes:
>
>> The way to this on newer OSX is to create /etc/launchd.conf and put
>> something like:
>>
>> setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
>>
>> in there.  I have not tried this myself.
>
> I'm on Mac, and I can confirm that this is the way to go, if you want to
> have correct PATH for applications that are not started from Terminal.
> What you set in /etc/paths and similar will work for the shell
> environment in Terminal, and applications started from there.
>
> It is worth noting, that modifying PATH in this way requires you to
> relog into graphical session. Actually, unless you run this manually
> through launchctl, a full reboot might be required. I can't remember, if
> that's the case.
>
> Best regards,
> Piotr Kalinowski
>
> --
> Intelligence is like a river: the deeper it is, the less noise it makes.
>
>



  reply	other threads:[~2013-04-12 14:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 18:19 About PATH environment variable on OSX Darren Hoo
2013-04-12  5:05 ` Jan Djärv
2013-04-12 12:39   ` Piotr Kalinowski
2013-04-12 14:07     ` Peter Vasil [this message]
2013-04-13  1:24       ` James Felix Black
2013-04-13 12:33         ` Piotr Kalinowski
2013-04-12 15:01   ` Harald Hanche-Olsen
2013-04-13  4:59 ` Josh
2013-04-13 12:41   ` Piotr Kalinowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJe0aURvrATF+hdH7S5a=4qJ89dv7x531LrYWFW4Tw-5TX2VYQ@mail.gmail.com' \
    --to=mailing_lists@petervasil.net \
    --cc=emacs-devel@gnu.org \
    --cc=pitkali@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).