Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site hplabsc.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!pyramid!hplabsc!dsmith From: dsmith@hplabsc.UUCP (David Smith) Newsgroups: net.sources Subject: Re: Csh quickie Message-ID: <104@hplabsc.UUCP> Date: Fri, 14-Feb-86 11:47:47 EST Article-I.D.: hplabsc.104 Posted: Fri Feb 14 11:47:47 1986 Date-Received: Sun, 16-Feb-86 04:16:36 EST References: <15217@rochester.UUCP> Distribution: net Organization: Hewlett Packard Labs, Palo Alto CA Lines: 10 > This alias swaps the top two directories on the stack - useful for > directory hoppers like me: > > alias / 'set dirstack=`dirs -l`; popd; cd $dirstack[1]; pushd $dirstack[2]' > So how is this any better than a pushd without arguments? David Smith HP Labs