I know that you can have a .profile
or .bashrc
file in your home folder to customise Mac OS X 10.6.4 Terminal bash startup.
Every time I start up Terminal, there is a line that tells me "You've got mail". I am trying to find where this line is stated in my startup files, but can't find .bash nor .profile
nor .bashrc
in my home folder.
I also read that the global settings file is in /etc/profile
and /etc/bashrc
, but they don't seem to tell me anything:
/etc/profile
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
/etc/bashrc
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
return
fi
PS1='\h:\W \u\$ '
# Make bash check its window size after a process completes
shopt -s checkwinsize
BTW, there is no /etc/bash
Any ideas? Thanks!