all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Jim Crossley <jcrossley@redhat.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: inherit the path environment from .bash_profile (Mac OS 10.5)
Date: Fri, 6 Aug 2010 17:36:50 +0200	[thread overview]
Message-ID: <1AED3F95-6117-4623-ADAF-EC15C6C1A981@Web.DE> (raw)
In-Reply-To: <m2bp9flu36.fsf@jimbook.crossleys.home>


Am 06.08.2010 um 16:00 schrieb Jim Crossley:

> ;; Setup PATH
> (setenv "PATH" (shell-command-to-string "source ~/.bashrc; echo -n  
> $PATH"))


You have the defaults utility which you can use inside shell RC files:

	setenv MANPATH	`defaults read ~/.MacOSX/environment MANPATH`
	export PATH=$(defaults read "${HOME}/.MacOSX/environment" PATH)

If needed! Remember that ~/.MacOSX/environment.plist is read at login  
time so that all applications launched afterwards (from Dock or via  
launch service) inherit this process environment. (On Tiger, Mac OS X  
10.4, X11 did not pass the environemnt to its X clients.) When you  
remotely log in you might need settings in your login shell's RC  
file(s). Which I can't test...

--
Greetings

   Pete

Time flies like an error – but fruit flies like a banana!
				- (almost) Groucho Marx




  reply	other threads:[~2010-08-06 15:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-06  3:15 inherit the path environment from .bash_profile (Mac OS 10.5) Z
2010-08-06 14:00 ` Jim Crossley
2010-08-06 15:36   ` Peter Dyballa [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-06  3:17 Inherit " Z
2010-08-06  8:47 ` Peter Dyballa
2010-08-06 14:04   ` Jim Crossley
2010-08-06 15:27     ` Peter Dyballa
2010-08-08 17:54       ` Andrea Crotti
2010-08-06 12:09 ` Andrea Crotti
     [not found] <mailman.0.1281064508.32647.help-gnu-emacs@gnu.org>
2010-08-06  5:58 ` inherit " Tim X
2010-08-06  7:15 ` Xah Lee
     [not found] <mailman.1.1281064641.32647.help-gnu-emacs@gnu.org>
2010-08-06 12:02 ` Inherit " Elena

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

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

  git send-email \
    --in-reply-to=1AED3F95-6117-4623-ADAF-EC15C6C1A981@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jcrossley@redhat.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.