Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!sgt From: sgt@alice.UucP (Steve Tell) Newsgroups: net.sources Subject: Re: set work dir aliases (Any shell with aliases) Message-ID: <5041@alice.uUCp> Date: Wed, 26-Feb-86 00:42:23 EST Article-I.D.: alice.5041 Posted: Wed Feb 26 00:42:23 1986 Date-Received: Fri, 28-Feb-86 06:30:48 EST References: <73@cselt.UUCP> Organization: Bell Labs, Murray Hill Lines: 16 Here's a similar scheme that several people have been using on both csh and ksh: csh: alias d1 'set D1=`pwd`' alias cd1 'cd $D1' ksh: alias -x d1="D1=\$PWD" alias -x cd1="cd \$D1" Typicaly, one has, say, d1 through d6. I usually only use two or three of them, and set them up so the numbers relate to which is "primary" to the task at hand in some way. Another usefull alias is one that prints the contents of $D1-$D6.