On Jun 24 13:41:29, [email protected] wrote:
> On Jun 19 12:23:51, [email protected] wrote:
> > I got what I want.
> > 
> > PS1="${B_WHITE}${BLD}${F_BLACK}`hostname -s`${F_MAG}::${GREEN}`id
> > -un`#${NOR}${NOR} "
> > 
> > But when I su to root, I no longer have
> > dark and heavy characters. What am I doing?
> 
> PS1 is an environment variable.
> man su and see the bits about environment.
> (do you "su" or "su -" ?)
> 
> After su (to any other user) you don't even necessarily
> have the same SHELL, so does it even recognize PS1?
> 
> env(1) before and after and see the differences.
> 
>       Jan
> 
> 

Reply via email to