source: trunk/essentials/app-shells/bash/examples/startup-files/Bash_profile@ 3845

Last change on this file since 3845 was 3228, checked in by bird, 19 years ago

bash 3.1

File size: 339 bytes
Line 
1# Startup file for bash login shells.
2#
3default_dir=/usr/local/lib/
4
5if [ -n "$PS1" ]; then
6 PS1='\u@\h(\#)\$ '
7 IGNOREEOF=3
8fi
9
10LOGIN_SHELL=true
11
12# If the user has her own init file, then use that one, else use the
13# canonical one.
14if [ -f ~/.bashrc ]; then
15 . ~/.bashrc
16elif [ -f ${default_dir}Bashrc ]; then
17 . ${default_dir}Bashrc;
18fi
Note: See TracBrowser for help on using the repository browser.