Path: utzoo!yunexus!ists!jarvis.csri.toronto.edu!rutgers!ucsd!usc!samsung!uunet!mcsun!ukc!pyrltd!woodgate From: woodgate@pyrltd.UUCP (John Woodgate) Newsgroups: comp.unix.questions Subject: Re: Prompt as Current Directory? Message-ID: <1637@pyrltd.UUCP> Date: 16 Nov 89 14:19:02 GMT Article-I.D.: pyrltd.1637 References: Reply-To: woodgate@papyrus.UUCP (John Woodgate) Organization: Pyramid Technology Ltd, Farnborough, ENGLAND Lines: 15 In article broadman@paul.rutgers.edu (Alan Broadman) writes: >How can you get the UNIX prompt to always reflect the path to the >current directory. Try this (from my .cshrc) set prompt="$cwd> " alias cd 'cd \!* ; set prompt="$cwd> "' John Woodgate * Any resemblance between the above * -mm------- Pyramid Technology Ltd. * views and those of employer, my * ---mmmm----- ..ukc!pyrltd!woodgate * wife, or my kids, is pure chance * -----mmmmmm--- Tel : +44 252 373035 * and never likely to be repeated. * -------mmmmmmmm-