Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ndosl!dr!tom From: tom@dr.uucp (Tom Rojahn) Newsgroups: comp.unix.questions Subject: Re: Getting csh prompt to display the current dir. Message-ID: <519@dr.uucp> Date: 6 Apr 89 07:03:34 GMT Organization: DataRojahn,N-1400 Ski,Norway Lines: 15 Here is one simple way to let csh prompt your current directory: Enter following commands in /etc/cshrc or $HOME/.cshrc: set prompt="`pwd`% " alias cd 'chdir \!*; set prompt="`pwd`% "' Tom Rojahn +--------------------------------------------------------------+ ! DataRojahn-> Tel: +479945178 Mobil: 03006606 Fax: +479945592 ! ! uucp: dr!tom Tel: +479945180 login: public Password: Public ! ! USENET/EUnet: ...!mcvax!ndosl!dr!tom or: tom@dr.uucp ! +--------------------------------------------------------------+