i-bash/examples/startup-files/bash-profile

40 lines
887 B
Text
Raw Normal View History

1996-12-23 17:02:34 +00:00
# This is the filename where your incoming mail arrives.
MAIL=~/mbox
1996-08-26 18:22:31 +00:00
MAILCHECK=30
1996-12-23 17:02:34 +00:00
HISTFILE=~/.history/history.$HOSTNAME
1996-08-26 18:22:31 +00:00
1996-12-23 17:02:34 +00:00
PATH1=/usr/homes/chet/bin.$HOSTTYPE:/usr/local/bin/gnu:
1996-08-26 18:22:31 +00:00
PATH2=/usr/local/bin:/usr/ucb:/bin:/usr/bin/X11:.
1996-12-23 17:02:34 +00:00
PATH3=/usr/bin:/usr/new/bin:/usr/contrib/bin
1996-08-26 18:22:31 +00:00
PATH=$PATH1:$PATH2:$PATH3
1996-12-23 17:02:34 +00:00
EDITOR=/usr/local/bin/ce VISUAL=/usr/local/bin/ce FCEDIT=/usr/local/bin/ce
1996-08-26 18:22:31 +00:00
1996-12-23 17:02:34 +00:00
SHELL=${SHELL:-${BASH:-/bin/bash}}
1996-08-26 18:22:31 +00:00
1996-12-23 17:02:34 +00:00
PAGER=/usr/local/bin/less
LESS='-i -e -M -P%t?f%f :stdin .?pb%pb\%:?lbLine %lb:?bbByte %bb:-...'
1996-08-26 18:22:31 +00:00
#
# Bogus 1003.2 variables. This should really be in /etc/profile
#
LOGNAME=${USER-$(whoami)}
1996-12-23 17:02:34 +00:00
TZ=US/Eastern
1996-08-26 18:22:31 +00:00
1996-12-23 17:02:34 +00:00
export HOME VISUAL EDITOR MAIL SHELL PATH TERM
export PAGER LESS TERMCAP HISTSIZE HISTFILE MAIL MAILCHECK LOGNAME TZ
1996-08-26 18:22:31 +00:00
1996-12-23 17:02:34 +00:00
PS1="${HOSTNAME}\$ "
1996-08-26 18:22:31 +00:00
PS2='> '
export PS1 PS2
umask 022
if [ -f /unix ] ; then
1996-12-23 17:02:34 +00:00
stty intr ^c # bogus
1996-08-26 18:22:31 +00:00
fi
if [ -f ~/.bashrc ] ; then
. ~/.bashrc
fi