cd function

Chet Ramey chet at odin.INS.CWRU.Edu
Wed Feb 20 00:56:41 AEST 1991


In article <2023 at necisa.ho.necisa.oz.au> boyd at necisa.ho.necisa.oz.au (Boyd Roberts) writes:
>The V8 shell is the way to go:
>
>    cd()
>    {
	[ ... ]
>    }

Bash will do this too:

cd ()
{
    builtin cd ${1+"$@"} && xtitle $HOST: $PWD
}
-- 
Chet Ramey				``Now, somehow we've brought our sins
Network Services Group			  back physically -- and they're
Case Western Reserve University		  pissed.''
chet at ins.CWRU.Edu		My opinions are just those, and mine alone.



More information about the Comp.unix.questions mailing list