[comp.unix.shell] How to change prompt in ksh??

fc173108@seas.gwu.edu (Iqbal Qazi) (12/09/90)

My prompt is now:

fc173108@sparko:xxx:
   ^^^     ^^^  ^^^
    |       |    |
account  machine line#

and I would rather have my path shown, or the time, or just something else.

I mean, I know which account I'm in, and what machine I'm on.  I think
I need to stick something in my .kshrc file but I don't know what.

Anyone know?

Thanks,


Iqbal

sivesh@rebels.ingr.com (sivesh pradhaan) (12/12/90)

In article <2423@sparko.gwu.edu>, fc173108@seas.gwu.edu (Iqbal Qazi) writes:
|> My prompt is now:
|> 
|> fc173108@sparko:xxx:
|>    ^^^     ^^^  ^^^
|>     |       |    |
|> account  machine line#
|> 
|> and I would rather have my path shown, or the time, or just something else.
|> 
|> I mean, I know which account I'm in, and what machine I'm on.  I think
|> I need to stick something in my .kshrc file but I don't know what.



put PS1="what_ever_you_want_your_prompt_to_be" in your .profile

-Sivesh