projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b1b24c0a185d329bece74e0f26469c1a61ee100a
[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 [ "$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
source ~/.bashrc
16
else if [ -f ${default_dir}Bashrc ]; then
17
source ${default_dir}Bashrc;
18
fi
19
fi
20