source:
trunk/essentials/app-shells/bash/examples/startup-files/Bash_profile@
3845
| Last change on this file since 3845 was 3228, checked in by , 19 years ago | |
|---|---|
| File size: 339 bytes | |
| Line | |
|---|---|
| 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 |
Note:
See TracBrowser
for help on using the repository browser.
