projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported from ../bash-2.0.tar.gz.
[platform/upstream/bash.git]
/
examples
/
startup-files
/
Bash_profile
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