Csh quickie

chen at uiucdcsb.CS.UIUC.EDU chen at uiucdcsb.CS.UIUC.EDU
Sat Feb 15 14:18:00 AEST 1986


/* Written  3:10 pm  Feb 10, 1986 by ken at rochester.UUCP in uiucdcsb:net.sources */
/* ---------- "Csh quickie" ---------- */
References:
Keywords:

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]'

	Ken
-- 
UUCP: ..!{allegra,decvax,seismo}!rochester!ken ARPA: ken at rochester.arpa
Snail: Comp. of Disp. Sci., U. of Roch., NY 14627. Voice: Ken!
/* End of text from uiucdcsb:net.sources */



More information about the Comp.sources.unix mailing list