Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site ccvaxa Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!aglew From: aglew@ccvaxa.UUCP Newsgroups: net.sources Subject: Re: set work dir aliases (Any shell Message-ID: <9500009@ccvaxa> Date: Sun, 9-Mar-86 20:53:00 EST Article-I.D.: ccvaxa.9500009 Posted: Sun Mar 9 20:53:00 1986 Date-Received: Wed, 12-Mar-86 02:45:25 EST References: <5041@alice.uUCp> Lines: 11 Nf-ID: #R:alice.uUCp:5041:ccvaxa:9500009:000:532 Nf-From: ccvaxa.UUCP!aglew Mar 9 19:53:00 1986 Another set of working directory aliases. I like to have a lot, with names. "mark" remembers one; "Mark" saves it. I'm getting enough to make it work saving them in a separate file that I source in my .cshrc, and to put ifs around the saved line to distinguish different machines. Plus something that says "you've already defined this place, stupid!". But for the short term, these are enough. alias mark 'set \!:1=`pwd`; alias \!:1 cd $\!:1' alias Mark mark \!:1 \; echo '>> ~/.cshrc' set \!:1 = `pwd` \\\; alias \!:1 cd '$'\!:1