Setting the shell path on OS X Leopard

Create your .bash_profile document at the root of your home directory as follows:

and add any relevant paths that you may need. Then execute source .bash_profile in the command line. This ensures that changes to the environment made in .bash_profile are registered before you restart the shell.