sábado, 28 de junio de 2008

Mac OSX Leopard: environment variables on bash

References:
  • http://www.macdevcenter.com/pub/a/mac/2004/02/24/bash.html
Solution:
  1. create a file ".profile" in your $HOME directory
  2. declare the environment variable as follows:
    export JAVA_HOME=/usr/bin/java

Mac OSX Leopard: Configure the default login shell

References:
  • http://web.ipac.caltech.edu/staff/hoard/pages/MacOSX_configuration_tips.html#login_shell
Quote:

"The application utility Netinfo Manager no longer exists in Leopard. Instead, open the “Accounts” preferences in System Preferences. Unlock the preferences by clicking on the lock icon in the lower left corner of the preferences panel and entering an administrator password. Then right-click (or control-click) on a user name and select the “Advanced Options” menu. Select the desired login shell from the pull-down menu, and click on “OK”.Log out and back in to put the change into efffect."