Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!usc!samsung!aplcen!haven!umbc3!umbc5.umbc.edu!rostamia From: rostamia@umbc5.umbc.edu (Rouben Rostamian) Newsgroups: comp.unix.questions Subject: Re: Prompt as Current Directory? Message-ID: <2526@umbc3.UMBC.EDU> Date: 16 Nov 89 12:42:16 GMT References: Sender: newspost@umbc3.UMBC.EDU Reply-To: rostamia@umbc5.umbc.edu.UUCP (Rouben Rostamian) Organization: University of Maryland, Baltimore County Lines: 12 In article broadman@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.