# \[\033[1;36m\][\w]\n\[\033[0;36m\][\h|\t]$ \[\033[0m\]
# make sure the term we're using exists in the termcap
- if ! toe -a|grep -q "^$TERM "; then
+ TOEOPT='-a'
+ if ! toe $TOEOPT >/dev/null 2>&1; then
+ TOEOPT=''
+ fi;
+ if ! toe $TOEOPT|grep -q "^$TERM "; then
# if it doesn't, try to switch
case $TERM in
rxvt*)