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 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 is > possible > in

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 v

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

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 --versi

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. Everythin

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 successfu

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 /o

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 syst

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 sugg

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 r

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 successfu

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 ->

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

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 wrote: > 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 doing? > $SHELL is t

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

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

2012-07-20 Thread Ryan Schmidt
On Jul 15, 2012, at 20:25, Brandon Allbery wrote: > On Sun, Jul 15, 2012 at 9:10 PM, Ryan Schmidt wrote: >> 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 > "/o

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 wrote: > 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 allbery

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

2012-07-15 Thread Ryan Schmidt
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 > emulator's preferences, this is a pe

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

2012-07-15 Thread Clemens Lang
Hi, 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 emulator's preferences, this is a perfectly fine way to do it, too (and it also is what

git bash_completion does not work - solved (?)

2012-07-15 Thread Stefan Scheidt
It seems I have solved my problem: Cause: My login shell was still the old /bin/bash. Solution: I added /opt/local/bin/bash to /etc/shells and then did "chsh -s /opt/local/bin/bash" Now bash_completion works! Question: Is this the right way to use MacPorts bash as login shell? Regards Stefa