i-bash/examples/startup-files/Bash_profile

19 lines
339 B
Bash
Raw Normal View History

1996-08-26 18:22:31 +00:00
# Startup file for bash login shells.
#
default_dir=/usr/local/lib/
1996-12-23 17:02:34 +00:00
if [ -n "$PS1" ]; then
PS1='\u@\h(\#)\$ '
IGNOREEOF=3
1996-08-26 18:22:31 +00:00
fi
LOGIN_SHELL=true
# If the user has her own init file, then use that one, else use the
# canonical one.
if [ -f ~/.bashrc ]; then
1996-12-23 17:02:34 +00:00
. ~/.bashrc
elif [ -f ${default_dir}Bashrc ]; then
. ${default_dir}Bashrc;
1996-08-26 18:22:31 +00:00
fi