Path: utzoo!attcan!uunet!isavax.isa.com!cjbsys!cliffb From: cliffb@cjbsys.bdb.com (cliff bedore) Newsgroups: comp.unix.xenix.sco Subject: Re: cwd help needed Message-ID: <1990Oct6.233758.7959@cjbsys.bdb.com> Date: 6 Oct 90 23:37:58 GMT References: <1084@ria.ccs.uwo.ca> Distribution: comp.unix.xenix.sco Organization: BDB Systems Lines: 18 In article <1084@ria.ccs.uwo.ca> creider@uwocsd.uwo.ca (Chet Creider) writes: >Would someone help a newuser? How does one write the equivalent to >the familiar: > >alias cd 'cd \!* ; echo $cwd' > >i.e., is there an equivalent to $cwd (csh, SCO OS)? > >Thanks > >Chet Creider >creider@csd.uwo.ca The following works set prompt="`pwd` : " # set prompt string alias cd 'cd \!*;set prompt = "`pwd` : "'