Got macports bash completion working again¶
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 :-)