[TxMt] [rev 469] $PATH from ~/.bash_profile not loaded?
Sune Foldager
cryo at cyanite.org
Mon Sep 26 15:50:17 UTC 2005
On 26/09/2005, at 17.00, Kumar McMillan wrote:
> as of rev. 469, the custom $PATH var I export from ~/.bash_profile
> does not show up in a command *if* the command has a shebang. I don't
> know if this is intended behavior
It is at least well-known, and happens because the shebang will cause
the system to run the interpreter command directly, and not through
the shell. And it's the shell that grabs those variables from your
profiles (by sourcing them into the running environment before the
command is run). #!/bin/bash might/should work, but of course it
might as well be left out in that case :-p.
For other interpreters, start it manually instead, for now (and don't
use shebang).
-- Sune.
More information about the textmate
mailing list