Prompt as Current Directory?

Rouben Rostamian rostamia at umbc5.umbc.edu
Thu Nov 16 23:42:16 AEST 1989


In article <Nov.16.00.56.12.1989.9985 at paul.rutgers.edu> broadman at paul.rutgers.edu (Alan Broadman) writes:
|
|I have a (hopefully) simple question. How can you get the UNIX prompt
|to always reflect the path to the current directory. Such a prompt
|would change with each 'cd ' command. In MS-DOS this is done by the
|command : 'prompt $P'. I think this would be most helpful, as
|otherwise, the prompt string is quite useless.
|

Oh boy!  Are your in trouble!  Get out your flame-retardant suit.

Hint:  Also read the monthly posting of frequently asked question.



More information about the Comp.unix.questions mailing list