]> git.ipfire.org Git - thirdparty/bash.git/blob - examples/startup-files/bash-profile
Imported from ../bash-2.0.tar.gz.
[thirdparty/bash.git] / examples / startup-files / bash-profile
1 # This is the filename where your incoming mail arrives.
2 MAIL=~/mbox
3 MAILCHECK=30
4
5 HISTFILE=~/.history/history.$HOSTNAME
6
7 PATH1=/usr/homes/chet/bin.$HOSTTYPE:/usr/local/bin/gnu:
8 PATH2=/usr/local/bin:/usr/ucb:/bin:/usr/bin/X11:.
9 PATH3=/usr/bin:/usr/new/bin:/usr/contrib/bin
10 PATH=$PATH1:$PATH2:$PATH3
11
12 EDITOR=/usr/local/bin/ce VISUAL=/usr/local/bin/ce FCEDIT=/usr/local/bin/ce
13
14 SHELL=${SHELL:-${BASH:-/bin/bash}}
15
16 PAGER=/usr/local/bin/less
17 LESS='-i -e -M -P%t?f%f :stdin .?pb%pb\%:?lbLine %lb:?bbByte %bb:-...'
18 #
19 # Bogus 1003.2 variables. This should really be in /etc/profile
20 #
21 LOGNAME=${USER-$(whoami)}
22 TZ=US/Eastern
23
24 export HOME VISUAL EDITOR MAIL SHELL PATH TERM
25 export PAGER LESS TERMCAP HISTSIZE HISTFILE MAIL MAILCHECK LOGNAME TZ
26
27 PS1="${HOSTNAME}\$ "
28 PS2='> '
29 export PS1 PS2
30
31 umask 022
32
33 if [ -f /unix ] ; then
34 stty intr ^c # bogus
35 fi
36
37 if [ -f ~/.bashrc ] ; then
38 . ~/.bashrc
39 fi