Using the directory stack like !-2:3 in csh

Root Boy Jim rbj at icst-cmr.arpa
Wed May 25 03:35:16 AEST 1988


   From: Bob Toxen <bob at cloud9.uucp>

   I haven't done this in hours!  Also, I highly recommend:
	   alias	popd	'popd \!*;set prompt="\! $cwd:t % "'
	   alias	pushd	'pushd \!*;set prompt="\! $cwd:t % "'
	   alias	d	dirs
	   alias	po	popd
	   alias	pu	pushd

Try: alias \< pushd; alias \> popd; alias \? dirs.

   Bob Toxen	{ucbvax!ihnp4,harvard,cloud9!es}!anvil!cavu!bob
   Stratus Computer, Marlboro, MA
   Pilot to Copilot: What's a mountain goat doing way up here in a cloud bank?

	(Root Boy) Jim Cottrell	<rbj at icst-cmr.arpa>
	National Bureau of Standards
	Flamer's Hotline: (301) 975-5688
	The opinions expressed are solely my own
	and do not reflect NBS policy or agreement
	My name is in /usr/dict/words. Is yours?



More information about the Comp.unix.wizards mailing list