diff options
Diffstat (limited to 'examples/startup-files/bash-profile')
-rw-r--r-- | examples/startup-files/bash-profile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/examples/startup-files/bash-profile b/examples/startup-files/bash-profile new file mode 100644 index 0000000..01c322a --- /dev/null +++ b/examples/startup-files/bash-profile @@ -0,0 +1,54 @@ +HOME=/usr/homes/chet +MAIL=/usr/homes/chet/mbox +MAILCHECK=30 +HISTFILE=/usr/homes/chet/.history + +MACHINE=$(/usr/local/bin/machine) +HOST=$(hostname) + +PATH1=/usr/homes/chet/bin.$MACHINE:/usr/local/bin/gnu: +PATH2=/usr/local/bin:/usr/ucb:/bin:/usr/bin/X11:. +PATH3=/usr/andrew/bin:/usr/bin:/usr/ibm:/usr/local/bin/mh:/usr/new/bin: +PATH=$PATH1:$PATH2:$PATH3 + +EDITOR=/usr/homes/chet/bin.$MACHINE/ce +VISUAL=/usr/homes/chet/bin.$MACHINE/ce +FCEDIT=/usr/homes/chet/bin.$MACHINE/ce + +if [ "$BASH" ] ; then + SHELL=$BASH +else + SHELL=/bin/bash +fi + +if [ "$MACHINE" = "ibm032" ] ; then + stty erase ^H +fi + +PAGER=/usr/ucb/more +NNTPSERVER=kiwi +NS=/nfs/cwjcc/fs1/ns-engr/proj/netsrv/cwpub/proto/src + +# +# Bogus 1003.2 variables. This should really be in /etc/profile +# +LOGNAME=${USER-$(whoami)} +TZ=EST5EDT + +export HOME ENV VISUAL EDITOR MAIL SHELL PATH TERM +export PAGER LESS TERMCAP HISTSZIE HISTFILE +export MAIL MAILCHECK HOST HOSTNAME NNTPSERVER NS LOGNAME TZ + +PS1="${HOST}$ " +PS2='> ' +export PS1 PS2 + +umask 022 + +if [ -f /unix ] ; then + stty intr ^c +fi + +if [ -f ~/.bashrc ] ; then + . ~/.bashrc +fi |