Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Barrie Stott
On 20 Jul 2012, at 16:08, Clemens Lang wrote: On Fri, Jul 20, 2012 at 09:56:24AM -0500, Ryan Schmidt wrote: I am still not sure what to change or how to verify it was successful. In Lion's Terminal.app, I have opened Preferences - Settings - Shell, checked the Run command box, and filled in

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Ryan Schmidt
On Jul 21, 2012, at 04:53, Barrie Stott wrote: On 20 Jul 2012, at 16:08, Clemens Lang wrote: On Fri, Jul 20, 2012 at 09:56:24AM -0500, Ryan Schmidt wrote: I am still not sure what to change or how to verify it was successful. In Lion's Terminal.app, I have opened Preferences - Settings -

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Barrie Stott
On 21 Jul 2012, at 11:07, Ryan Schmidt wrote: On Jul 21, 2012, at 04:53, Barrie Stott wrote: On 20 Jul 2012, at 16:08, Clemens Lang wrote: On Fri, Jul 20, 2012 at 09:56:24AM -0500, Ryan Schmidt wrote: I am still not sure what to change or how to verify it was successful. In Lion's

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Clemens Lang
I have now edited /etc/shells with MacVim to add /opt/local/bin/bash as the first in the list. I then ran 'chsh -s /opt/local/bin/bash'. I have done this on my system, too, and it works fine for me. I had already done what you suggested in Terminal's Preferences - Settings - Shell. I

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Barrie Stott
On 21 Jul 2012, at 12:01, Clemens Lang wrote: I have now edited /etc/shells with MacVim to add /opt/local/bin/bash as the first in the list. I then ran 'chsh -s /opt/local/bin/bash'. I have done this on my system, too, and it works fine for me. I had already done what you suggested in

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Damon McDougall
On Sat, Jul 21, 2012 at 12:51:04PM +0100, Barrie Stott wrote: On 21 Jul 2012, at 12:01, Clemens Lang wrote: I have now edited /etc/shells with MacVim to add /opt/local/bin/bash as the first in the list. I then ran 'chsh -s /opt/local/bin/bash'. I have done this on my system, too, and

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Barrie Stott
On 21 Jul 2012, at 13:19, Damon McDougall wrote: On Sat, Jul 21, 2012 at 12:51:04PM +0100, Barrie Stott wrote: On 21 Jul 2012, at 12:01, Clemens Lang wrote: I have now edited /etc/shells with MacVim to add /opt/local/bin/bash as the first in the list. I then ran 'chsh -s

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Barrie Stott
On 21 Jul 2012, at 11:07, Ryan Schmidt wrote: On Jul 21, 2012, at 04:53, Barrie Stott wrote: On 20 Jul 2012, at 16:08, Clemens Lang wrote: On Fri, Jul 20, 2012 at 09:56:24AM -0500, Ryan Schmidt wrote: I am still not sure what to change or how to verify it was successful. In Lion's

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barrie Stott wrote: On 21 Jul 2012, at 11:07, Ryan Schmidt wrote: On Jul 21, 2012, at 04:53, Barrie Stott wrote: On 20 Jul 2012, at 16:08, Clemens Lang wrote: [snip] Thank you for this and your Terminal Preferences change. Everything would

git bash_completion does not work - solved (?)

2012-07-21 Thread Rodolfo Aramayo
Hi, I have taken the freedom of summarizing the proper way of configuring Bash as per this discussion ## Proper setting of BASH: $ port install bash Testing current configuration: $ which bash /opt/local/bin/bash $ bash

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Rainer Müller
On 2012-07-16 03:10, Ryan Schmidt wrote: On Jul 15, 2012, at 15:26, Clemens Lang wrote: On Sun, Jul 15, 2012 at 10:13:13PM +0200, Stefan Scheidt wrote: Question: Is this the right way to use MacPorts bash as login shell? Although `port notes bash-completion` suggests changing your terminal

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Rainer Müller
Hello, On 2012-07-21 22:57, Rodolfo Aramayo wrote: I have taken the freedom of summarizing the proper way of configuring Bash as per this discussion You are right that there are two possibilities of adjusting your environment to use /opt/local/bin/bash in your terminal instead of the bash

Re: git bash_completion does not work - solved (?)

2012-07-21 Thread Brandon Allbery
On Sat, Jul 21, 2012 at 5:29 PM, Rainer Müller rai...@macports.org wrote: Note that changing the login shell is more invasive as it requires changing system files. Also, in case bash from MacPorts ever becomes unusable, it's easier to recover if you still have a working login shell (recovery

Re: git bash_completion does not work - solved (?)

2012-07-20 Thread Clemens Lang
On Fri, Jul 20, 2012 at 09:56:24AM -0500, Ryan Schmidt wrote: I am still not sure what to change or how to verify it was successful. In Lion's Terminal.app, I have opened Preferences - Settings - Shell, checked the Run command box, and filled in /opt/local/bin/bash -l. The Run inside shell

Re: git bash_completion does not work - solved (?)

2012-07-20 Thread Brandon Allbery
On Fri, Jul 20, 2012 at 10:56 AM, Ryan Schmidt ryandes...@macports.orgwrote: not checked. The bash port is installed. If I open a new terminal window and type echo $SHELL it still prints /bin/bash. Is that a correct way to verify that these steps were not successful? What else should I be

Re: git bash_completion does not work - solved (?)

2012-07-15 Thread Brandon Allbery
On Sun, Jul 15, 2012 at 9:10 PM, Ryan Schmidt ryandes...@macports.orgwrote: I was unable to figure out exactly what I was meant to be changing in Terminal's preferences to make this work. Presumably changing the command to run from your login shell to /opt/local/bin/bash -l. -- brandon s