-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 8-Jan-07, at 5:31 PM, Brett Calcott wrote:
This does seem to be the case. No amount of fiddling with .profile
.bashrc .bash_profile /etc/bashrc or whatever makes any difference to
the environment that ends up in the GUI version that is started from
the dock.
For the moment I just do something like this:
if has("gui_running")
let $PATH=$PATH.':/some/more/paths:/and/more/still'
endif
Which does the trick for now.
FWIW - found this in my .vimrc
" Get a good value for $PATH. For example, if teTeX is installed, this
" should add the path to tex, pdflatex, etc.
" This should only make a difference when vim is started from the
Finder or
" with open.
let $PATH = system("printenv PATH")
let $PATH = substitute($PATH, "\<C-J>$", "", "")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org
iD8DBQFFo56iGnOmb9xIQHQRArvVAKC9jHkQ2cg/nSN1eoui9TwlUkKwGwCg06LF
EUmrItXId5XsNVgg2Cc6VLU=
=DhLZ
-----END PGP SIGNATURE-----