Csh quickie
gilbert at aimmi.UUCP
gilbert at aimmi.UUCP
Fri Feb 14 23:23:53 AEST 1986
In article <15217 at rochester.UUCP> ken at rochester.UUCP (Ipse dixit) writes:
>
>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]'
Doesn't pushd on its own do this?
--
Gilbert Cockton, Alvey MMI Unit, Scotland
USENET: ..(EUROPE)mcvax!ukc!cstvax!hwcs!aimmi!gilbert. JANET:gilbert at uk.ac.hw.cs(aimmi not NRS registered yet). ARPA:gilbert%cs.hw.ac.uk at cs.ucl.ac.uk (ditto)
More information about the Comp.sources.unix
mailing list