Csh quickie

David Smith dsmith at hplabsc.UUCP
Sat Feb 15 02:47:47 AEST 1986


> 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



More information about the Comp.sources.unix mailing list