alias to link cd to pwd

phd_ivo at gsbacd.uchicago.edu phd_ivo at gsbacd.uchicago.edu
Thu Jun 8 08:15:31 AEST 1989


A long time ago, I had a script that links a cd to
reset the prompt to the currently connected directory.

Unfortunately, I can't find it anymore, and my documentation
is not telling me how to delay the execution of `pwd` in something
like

	alias cd "cd \!^ ; set prompt=`pwd`"

Could someone please post a copy of such an alias, please? 
Incidentally, I am running a NeXT with Mach, a Berkeley 4.3BSD
variation without ksh but with csh.

Thanks. /ivo



More information about the Comp.unix.questions mailing list