add generic title support for a very basic sh

This commit is contained in:
David Alexander Majnemer 2009-01-13 01:40:46 -06:00
parent ef9da6dbac
commit 550c3e7e79

8
sh/title Normal file
View file

@ -0,0 +1,8 @@
if [ $USER = root ] ; then
BASE="#"
else
BASE="$"
fi
PS1="${USER} ${BASE} "
export PS1