dots/ksh/prompt

13 lines
190 B
Text
Raw Normal View History

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