Skip navigation.
Home

.bashrc on OS X

I've been using my wife's macbook more and more, due to my old Dell slowly dying. Since I spend most of my life at a command prompt, I like to customized it a little so I'm more efficient.
Unfortunately, OS X doesn't automatically load your .bashrc when you start up a command window. Fortunately, it's easy to enable:
sudo vi /etc/profile
Enter your password and add this line:
[ -r $HOME/.bashrc ] && source $HOME/.bashrc
There you have it. I'll post some of the aliases and settings I like to have in my .bashrc later.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options