Taming the *nix shell

Every time I start with a *nix shell, I make these changes. Once you become accustomed to them, you’ll wonder how you managed without!

Add to /etc/inputrc (or ~/.inputrc) to tab complete directories and files with ease.

Add to ~/.profile to make the “ls” command useful.

Add to ~/.profile (or ~/.bash_profile) to […]

When a MacPorts build or install fails

Occasionally¬†an install from MacPorts fails, 9 times out of 10 it’ll be a dependency failing to build. And 9 times out of 10, a clean+selfupdate+resintall does the trick… sudo port clean portfile sudo port selfupdate sudo port install portfile [+variants] Failing that, a port upgrade usually helps… sudo port upgrade outdated