[TxMt] Re: Set the SHELL to use for bundle commands

Allan Odgaard mailinglist at textmate.org
Fri Nov 6 03:42:06 UTC 2009


On 13 Oct 2009, at 20:16, Svoop wrote:

> I'm trying to teach TM to play nicely with Gentoo Prefix. (That's  
> Gentoo
> Linux installed in a subdir such as /Gentoo which comes with it's own
> compiler, but runs on the Darwin kernel. Very handy for Ruby  
> development.)
> Even if I set all environment vars explicitly in TM, I have hickups  
> here and
> there. I'd like to tell TM to use the bash from Gentoo Prefix
> /Gentoo/bin/bash instead of the one coming with Mac OS X. Is there a  
> way to
> do that?

This presently cannot be configured. Is there a downside to using the  
standard bash?

> Even when doing a "/Gentoo/bin/bash -l" in bash_init.sh and then  
> dump the
> environment in a bundle command, I still see "SHELL = /bin/bash"  
> there. Is
> bash_init.sh read for scripts run from a bundle command at all?

We set BASH_ENV to bash_init.sh for bundle commands w/o a shebang line.




More information about the textmate mailing list