Got macports bash completion working againΒΆ

Tags: apple

I recently updated my macports install because I upgraded to the latest mountain lion OSX release. And suddenly my bash completion stopped working. No more list of servers after an ssh <TAB>, for instance.

Turns out the newer macports need a newer bash version than provided by OSX itself. So all I had to do in my terminal (well, iTerm) settings was to set the shell to /opt/local/bin/bash -l instead of the default /usr/bin/bash --login. This gets me macports’ new bash instead of OSX’s older one.

Hurray for actually re-reading the installation instructions when stuff is broken :-)

blog comments powered by Disqus
 
vanrees.org logo

About me

My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.

Weblog feeds

Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):