clean up prompt in ksh

This commit is contained in:
David Alexander Majnemer 2009-01-14 22:13:57 -05:00
parent 0689c9c0ce
commit 43851b816e

View file

@ -2,7 +2,7 @@ if [ -z "${USER}" ] ; then
USER=$LOGNAME
fi
if [ $USER ] && [ $USER = root ] ; then
if [ -n "${USER}" ] && [ ${USER} = root ] ; then
BASE="#"
else
BASE="$"