User Tools

Site Tools


Sidebar


guides:macosx:shell_profile

Mac OS X : Shell .profile

Problem: Your trying to edit ~/.profile and the changes don't seem to work!

Reason:

Multiple profile files exist and the order they get processed are in the following order:

 1. ~/.bash_profile
 2. ~/.bash_login
 3. ~/.profile

The issue is that if a profile file is found then the rest is skipped. Hence if the ~/.bash_profile exists then ~/.bash_login and ~/.profile are not processed.

Fix:

 Make sure there's only one profile file. I prefer to keep the ~/.profile file.
guides/macosx/shell_profile.txt · Last modified: 2009/11/27 10:45 by michaelc