#! /usr/bin/env bash
case "$TERM" in
- *term*|*rxvt*|vt100|screen)
+ *rxvt*|screen*|*term*|vt100)
if [ -z "$1" ]; then
TITLE="${USER}@${HOSTNAME}:$(echo ${PWD} | sed -e "s|^${HOME}|~|")"
else
# From Randall Hopper
- for _term in ['linux', 'term', 'rxvt', 'vt100', 'screen']:
if _term in term:
if background == 'dark':
ps1_color = '3' # yellow
else:
ps1_color = '4' # blue
stdout_color = '0' # bold black
+ for _term in ['linux', 'rxvt', 'screen', 'term', 'vt100']:
sys.ps1 = '\001\033[3%sm\002>>>\001\033[0m\002 ' % ps1_color
sys.ps2 = '\001\033[1;32m\002...\001\033[0m\002 ' # bold green