Prompt as Current Directory?

Alan Broadman broadman at paul.rutgers.edu
Thu Nov 16 16:56:13 AEST 1989


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.

						Allen Broadman
						Broadman at paul.rutgers.edu



More information about the Comp.unix.questions mailing list