1# Bourne Again SHell init file. 2# 3# Files you make look like rw-rw-r 4umask 002 5 6# Don't make useless coredump files. If you want a coredump, 7# say "ulimit -c unlimited" and then cause a segmentation fault. 8ulimit -c 0 9 10# Sometimes, there are lots of places that one can find tex inputs. 11export TEXINPUTS=.:$HOME/bin:/usr/lib/tex/inputs:/usr/local/lib/tex/inputs 12 13# Where's the Gnu stuff at? 14GNU=/usr/gnu/bin 15X11=/usr/bin/X11 16 17UTIL_PATH=$GNU:$X11 18STANDARD_PATH=/usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/etc:/etc:/usr/games 19 20if [ -d $HOME/bin/$HOSTTYPE ]; then 21 MY_PATH=$HOME/bin/$HOSTTYPE 22fi 23 24if [ -d $HOME/bin ]; then 25 MY_PATH=$MY_PATH:$HOME/bin 26fi 27 28if [ -d /usr/hosts ]; then 29 STANDARD_PATH=$STANDARD_PATH:/usr/hosts 30fi 31 32PATH=.:$MY_PATH:$UTIL_PATH:$STANDARD_PATH 33 34# If not running interactively, then return 35if [ -z "$PS1" ]; then 36 return 37fi 38 39# Set ignoreeof if you don't want EOF as the sole input to the shell to 40# immediately signal a quit condition. This only happens at the start 41# of a line if the line is empty, and you haven't just deleted a character 42# with C-d. I turn this on in ~/.bash_profile so that only login shells 43# have the right to be obnoxious. 44# set -o ignoreeof 45 46# Set auto_resume if you want to resume on "emacs", as well as on 47# "%emacs". 48auto_resume=exact 49 50# Set notify if you want to be asynchronously notified about background 51# job completion. 52set -o notify 53 54# Make it so that failed `exec' commands don't flush this shell. 55shopt -s execfail 56 57if [ -z "$LOGIN_SHELL" ]; then 58 PS1="\u@\h\$ " 59fi 60 61HISTSIZE=256 62MAILCHECK=60 63 64# A couple of default aliases. 65alias j='jobs -l' 66alias po=popd 67alias pu=pushd 68alias ls='ls -F' 69 70[ -f ~/.bash_aliases ] && . ~/.bash_aliases 71