Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!ames!ptsfa!dsp From: dsp@ptsfa.UUCP (David St.Pierre) Newsgroups: comp.unix.questions Subject: Re: Korn Shell Message-ID: <2204@ptsfa.UUCP> Date: Wed, 18-Mar-87 01:38:55 EST Article-I.D.: ptsfa.2204 Posted: Wed Mar 18 01:38:55 1987 Date-Received: Thu, 19-Mar-87 05:27:04 EST References: <580@csun.UUCP> <5680@brl-smoke.ARPA> <2201@ptsfa.UUCP> <730@hoqax.UUCP> Reply-To: dsp@ptsfa.UUCP (David St.Pierre) Organization: Pacific * Bell, San Ramon, CA Lines: 22 Keywords: Korn shell ksh aliases parameters In article <730@hoqax.UUCP> twb@hoqax.UUCP (BEATTIE) writes: > >Since this is in the ENV file doesn't it significantly increase the >amount of time it takes to start a sub-shell. Doesn't really seem to. It may not have been apparent, but the dirs, popd, ... functions were actually defined in a separate file. An alias was defined which sourced then in at first reference and unaliased them. You bite it big the first time you use the functions, but after that it's pretty fast. > >Why can't aliases and functions be exported like shell variables? They can be - that's why they're in my ENV file! :-) Isn't this the sam question one asks of the .cshrc file? When I shell escape out of rn/vi/..., I like to have my aliases handy. >Tom. -- David St. Pierre 415/823-6800 {ihnp4,lll-crg,ames,qantel,pyramid}!ptsfa!dsp If the onus fits, wear it.