When installing and using UNIX software on Mac OS X, one must often set environment variables. Sometimes these only need be set temporarily, and other times these variables should be set whenever a Terminal login session is started. Environment variables were previously set in Jaguar’s tcsh default shell using syntax such as:
setenv DBI_USER postgres
Panther includes bash as its default shell and uses the following syntax:
export DBI_USER=postgres
To set these at login session startup, take a look at these tips from OSXFAQ.
Posted by Justin at 11:15 PM PST — Tags: mac, cli
