cwd help needed
cliff bedore
cliffb at cjbsys.bdb.com
Sun Oct 7 09:37:58 AEST 1990
In article <1084 at ria.ccs.uwo.ca> creider at 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 at csd.uwo.ca
The following works
set prompt="`pwd` : " # set prompt string
alias cd 'cd \!*;set prompt = "`pwd` : "'
More information about the Comp.unix.xenix.sco
mailing list