This might be useful to someone. I use it on Mac OS X 10.4. It goes in ~/.profile
# um, i don't have an opinion on the /usr/local/bin thing. but i use it.
PATH="$PATH:/usr/local/bin"
export PATH
# for mysql utilities and darwinports
PATH="$PATH:/usr/local/mysql/bin:/opt/local/bin"
export PATH
# for various perl modules that include database tests
DBI_DSN="dbi:mysql:database=test;host=localhost"
export DBI_DSN
# for CPAN so it can download files
FTP_PASSIVE=1
export FTP_PASSIVE
Comments (0)
You don't have permission to comment on this page.