dots/ksh/prompt
David Alexander Majnemer 43851b816e clean up prompt in ksh
2009-01-14 22:13:57 -05:00

12 lines
199 B
Text
Executable file

if [ -z "${USER}" ] ; then
USER=$LOGNAME
fi
if [ -n "${USER}" ] && [ ${USER} = root ] ; then
BASE="#"
else
BASE="$"
fi
PS1=$'\E[01;32m'"${USER} "$'\E[01;34m''$PWD'" ${BASE} "$'\E[0m'
export PS1