6 lines
162 B
Bash
Executable File
6 lines
162 B
Bash
Executable File
#!/bin/bash
|
|
/bin/bash --rcfile <(cat /etc/bashrc; echo '
|
|
export PS1="FAILCOUNT: \$failcount ""$PS1"
|
|
trap '\''export failcount=$(( $failcount + $? ))'\'' DEBUG
|
|
')
|