aboutsummaryrefslogtreecommitdiffstats
path: root/lib/prompt.sh
blob: 7c0fe435b09342f4b73b81956106dda0df8344bf (plain)
1
2
3
4
5
#!/bin/bash

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