Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!brl-adm!seismo!mimsy!chris From: chris@mimsy.UUCP Newsgroups: comp.unix.wizards Subject: Re: remembered directories Message-ID: <5432@mimsy.UUCP> Date: Fri, 13-Feb-87 22:47:29 EST Article-I.D.: mimsy.5432 Posted: Fri Feb 13 22:47:29 1987 Date-Received: Sun, 15-Feb-87 00:12:36 EST References: <410@moncskermit.oz> <1339@tekcrl.UUCP> <1014@valid.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 26 In article <1014@valid.UUCP> markp@valid.UUCP (Mark P.) writes: >I have found it useful to be able to attach symbolic names to certain >directories during a session ... > > alias m 'set zz\!*=$cwd' I leave out the `z's, alias mark 'set \!:1=$cwd' so as to use a feature of the C shell: mark here ... cd here One need not even type `$here'. If a directory does not exist, csh tries searching its `cdpath', then tries evaluating the name as a variable! (I generally use pushd and popd to store directory names; `mark' is more useful with commands that need to look in two different paths, and here `$here' is necessary anyway. Ah well.) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) UUCP: seismo!mimsy!chris ARPA/CSNet: chris@mimsy.umd.edu