blob: 8e71c095c406596ac74887ce52e27364720d1880 [file] [log] [blame]
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
umask 022
if [ -n "$ZSH_VERSION" ]; then
unsetopt NOMATCH
unsetopt AUTO_MENU
fi
# Choose a fallback $TERM if the given one doesn't have a terminfo entry.
TERM_END=${TERM#?}
TERM_FIRST_LETTER=${TERM%${TERM_END}}
if [ ! -e "/usr/lib/terminfo/$TERM_FIRST_LETTER/$TERM" ]; then
export TERM=xterm-color
fi
if runnable serial; then
export PS1="$(serial)# "
fi