Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!hp4nl!philapd!ssp11!caren From: caren@idca.tds.PHILIPS.nl (Caren Alink) Newsgroups: comp.unix.questions Subject: Re: PROMPT Message-ID: <508@ssp11.idca.tds.philips.nl> Date: 26 Oct 89 14:09:24 GMT References: <21262@adm.BRL.MIL> Organization: Philips Telecommunication and Data Systems, The Netherlands Lines: 13 In article <21262@adm.BRL.MIL> shahryar@sutro.sfsu.edu (Shahryar G. Hashemi) writes: >I have a question about setting up my prompt in UNIX. In DOS you can a: >PROMPT $P$G >and it will automaticaly change my prompt when I change to a new directory. > >I would like to know how to do this same command in UNIX. I have tried >alias {but no good man pages}. Could someone out there please help me. Try putting: PS1='"$PWD" > ' in your .profile file.