blob: a4fa9a5456893ba1debf181ca181d9a959e93c05 [file] [log] [blame]
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
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