1 2 3 4 5
#!/bin/bash [[ $(declare -p PS1) == *\\\$\?* ]] || PS1=' [$?] '"$PS1" _old_PS2="$PS2" PS2='## example $((_I+1)) / ${#_examples[@]} $(_tag.display)\n\n'