source:
trunk/essentials/app-shells/bash/examples/obashdb/bashdb.pre@
3283
| Last change on this file since 3283 was 3228, checked in by , 19 years ago | |
|---|---|
| File size: 813 bytes | |
| Line | |
|---|---|
| 1 | # bashdb.pre - Bourne-Again Shell Debugger preamble file |
| 2 | # prepended to script being ddebugged |
| 3 | #arguments: |
| 4 | # $1 = name of original guineapig script |
| 5 | # $2 = dir where temp files are stored |
| 6 | # $3 = dir where bashdb.pre and bashdb.fns are stored |
| 7 | |
| 8 | # separate history file for bashdb |
| 9 | HISTFILE=~/.bashdb_history |
| 10 | set -o history |
| 11 | set +H |
| 12 | |
| 13 | # prompt for trace line |
| 14 | PS4="${1}" |
| 15 | |
| 16 | _dbgfile=$0 |
