Path: utzoo!attcan!uunet!husc6!bloom-beacon!gatech!mcnc!uvaarpa!umd5!brl-adm!adm!rbj@icst-cmr.arpa From: rbj@icst-cmr.arpa (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: Using the directory stack like !-2:3 in csh Message-ID: <14530@brl-adm.ARPA> Date: 24 May 88 17:35:16 GMT Sender: news@brl-adm.ARPA Lines: 22 From: Bob Toxen 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 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?