repo.or.cz
/
bash.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Patch-ID: bash40-021
[bash.git]
/
examples
/
startup-files
/
Bash_profile
blob
141e8df1286bffdfba4974e4b2a695201b259555
1
# Startup file for bash login shells.
2
#
3
default_dir=/usr/local/lib/
4
5
if [ -n "$PS1" ]; then
6
PS1='\u@\h(\#)\$ '
7
IGNOREEOF=3
8
fi
9
10
LOGIN_SHELL=true
11
12
# If the user has her own init file, then use that one, else use the
13
# canonical one.
14
if [ -f ~/.bashrc ]; then
15
. ~/.bashrc
16
elif [ -f ${default_dir}Bashrc ]; then
17
. ${default_dir}Bashrc;
18
fi