[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] root's shell prompt
- Subject: [ale] root's shell prompt
- From: jb at sourceillustrated.com (John Wells)
- Date: Fri, 9 May 2003 16:09:57 -0400 (EDT)
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