[ale] root's shell prompt

John Wells jb at sourceillustrated.com
Fri May 9 16:09:57 EDT 2003


A good idea.  But I'm still interested on what controls this.

This is on a RH 8 box, and I have another RH 8 box setup about the same
way, and it works on the other box...

Thanks,
John

Robert L. Harris said:
>
>
> put this in your .profile:
>
> whoami=`whoami`
> PS1="$whoami: #>"
>
> or something similar.  Mine looks like this:
>
> WhoAmI=`whoami`
> Hostname=`hostname | cut -d\. -f1`
> PS1="\[\033]1;\h\007\033]2;$WhoAmI@$Hostname :
> $PWD\007\]\n$WhoAmI@$Hostname\n{\$?}:\$PWD>"



_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list