dots/ksh/prompt

12 lines
190 B
Text
Executable file

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