So,
I've used DarwinPorts (aka MacPorts) to install the latest version of the BASH shell (v3.1.17). I've set it as my default shell within the NetInfo database. I also have it on the list of acceptable shells in my etc/shells file
I'm just wondering how you force TextMate to use this shell as opposed to the built-in BASH shell.
When ever I run (done by selecting the "Filter Through Command" menu item in the Text menu. I select input none, and am working in a blank document, and I select "Insert as Text" as the output): echo $BASH_VERSION I get back: 2.05b.0(1)-release
In the terminal I get: 3.1.17(1)-release
Can anyone help?
-Brian
haha, yes, many, many times. I installed the newer version of BASH forever ago. Just the constant discussion of people talking about having problems getting their copy of ruby working made me wonder if TextMate was using my copy of BASH. And I found out it isn't. This is even though it's set as my shell to be used by the NetInfo Database.
-Brian
On 12/6/06, Charilaos Skiadas skiadas@hanover.edu wrote:
On Dec 6, 2006, at 1:02 PM, Brian Landau wrote:
I'm just wondering how you force TextMate to use this shell as opposed to the built-in BASH shell.
Have you restarted your computer?
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 6. Dec 2006, at 19:02, Brian Landau wrote:
I've used DarwinPorts (aka MacPorts) to install the latest version of the BASH shell (v3.1.17). I've set it as my default shell within the NetInfo database. I also have it on the list of acceptable shells in my etc/shells file
I'm just wondering how you force TextMate to use this shell as opposed to the built-in BASH shell.
TextMate has /bin/bash hardcoded.
Many commands will break if another shell is used (csh, zsh, tcsh, ksh, etc.) so it is not a good idea if TM uses the users current shell.
But there are probably some exceptions, like the filter through command (which only macros could potentially rely on using bash) and of course it might be nice if TM would use the newest version on the system (if it is fully backwards compatible) -- not sure if it is worth investing time in solving this problem.