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 :-)
My name is Reinout van Rees and I program in Python, I live in the Netherlands, I cycle recumbent bikes and I have a model railway.
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):