Csh quickie

Chap Flack flackc at stolaf.UUCP
Thu Feb 13 01:37:23 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 does the following csh built-in command:

pushd


-- 
---------------------
Chap Flack				ihnp4!stolaf!agnes!flackc
Carleton College			ihnp4!stolaf!flackc
Northfield, MN  55057



More information about the Comp.sources.unix mailing list