Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!telmail!neabbs!jerovh From: jerovh@neabbs.UUCP (JEROEN V.HILST) Newsgroups: comp.unix.questions Subject: Re: $cwd in prompt??? Message-ID: <693251@neabbs.UUCP> Date: 19 Jun 91 10:30:10 GMT Organization: NEABBS multi-line BBS +31-20-5733533 (20x), Amsterdam, Holland. Lines: 3 For me (csh shell) this works, (prints a command-number and the dir): alias cd 'cd \!*; set prompt = "! `pwd`> "' set prompt = "! `pwd`> " best of luck.