2014-11-04 17:44:18 -05:00
|
|
|
function qi3ber2() {
|
|
|
|
export PROMPT_COMMAND=prompt_command
|
|
|
|
if [ -n "$1" ]; then
|
|
|
|
set_palette $1
|
|
|
|
fi
|
|
|
|
|
|
|
|
RETCODE="\$( printf "%3s" \$CODE )"
|
|
|
|
|
2016-04-06 02:09:16 -04:00
|
|
|
UL="┌"
|
|
|
|
UR="┐"
|
|
|
|
MID="─"
|
|
|
|
ML="┤"
|
|
|
|
MR="├"
|
|
|
|
LL="└"
|
|
|
|
LR="┘"
|
2014-11-04 17:44:18 -05:00
|
|
|
|
2016-04-06 02:09:16 -04:00
|
|
|
LINEONE="${Theme[0]}${UL}${MID}${ML} ${Theme[3]}\u${Theme[1]}@${Theme[4]}\h${ResetColours}:${Theme[7]}${TTY}${Theme[0]} ${MR}${UR}"
|
2014-11-04 17:44:18 -05:00
|
|
|
LINETWO="${Theme[0]}${MR}${MID}${ML} ${Theme[6]}$$${ResetColours}:${Theme[7]}${LOADAVG}${Theme[0]} @ ${Theme[8]}${DATE}${Theme[0]} ${MR}${ML} ${Theme[5]}\w${Theme[0]} ${MR}${UR}"
|
|
|
|
LINETHR="${Theme[0]}${LL}${MID}${ML} ${Theme[2]}\! ${Theme[9]}${RETCODE}${Theme[0]} ${MR}${UR}"
|
|
|
|
|
|
|
|
PS1="${XTERM}$LINEONE \n$LINETWO \n$LINETHR \$${ResetColours} "
|
|
|
|
export PS1
|
|
|
|
|
|
|
|
PS2="${Theme[0]}-${Theme[1]}*${Theme[2]}->${Theme[8]}\$${ResetColours} "
|
|
|
|
export PS2
|
|
|
|
|
|
|
|
export OPROMPT=qi3ber2
|
|
|
|
|
|
|
|
unset LINEONE
|
|
|
|
unset LINETWO
|
|
|
|
unset LINETHR
|
|
|
|
}
|