Imported from ../bash-1.14.7.tar.gz.
This commit is contained in:
commit
726f63884d
402 changed files with 150297 additions and 0 deletions
54
examples/startup-files/bash-profile
Normal file
54
examples/startup-files/bash-profile
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue