# This is .bash_profile, read on bash login and similar to .profile: # set prompt to display user@host and working # directory, with # for root and $ for user; # indent as shown. PS1="\u@\h \w " case `id -u` in 0) PS1="${PS1}# ";; *) PS1="${PS1}$ ";; esac # you may want to move /usr/local/bin to a place # before /usr/bin # make sure the PATH statement is all on one # line PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:$HOME/bin; export PATH # change the default editor from vi to ee if # you like # BLOCKSIZE=K; export BLOCKSIZE EDITOR=vi; export EDITOR PAGER=less; export PAGER HISTFILE="$HOME/.bash_history" export HISTFILE # file permissions: rwxr-xr-x # umask 022 set -o ignoreeof set -o noclobber set -o nounset # keep the user's environment when using su to # become root alias su='su -m' source $HOME/.bashrc BASHENV=$HOME/.bashrc; export BASHENV # search path for cd(1) # CDPATH=.:$HOME