🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.shell
2 messages
2 total messages Started by Iqbal Qazi Sun, 09 Dec 1990 03:32
How to change prompt in ksh??
#1916
Author: Iqbal Qazi
Date: Sun, 09 Dec 1990 03:32
18 lines
764 bytes
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
Re: How to change prompt in ksh??
#1961
Author: sivesh pradhaan
Date: Tue, 11 Dec 1990 20:07
19 lines
1016 bytes
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 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads