Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site fortune.UUCP Path: utzoo!linus!philabs!seismo!harpo!eagle!mhuxl!ihnp4!fortune!rpw3 From: rpw3@fortune.UUCP Newsgroups: net.unix Subject: Re: Pushd/Popd shorthand - (nf) Message-ID: <2314@fortune.UUCP> Date: Thu, 19-Jan-84 19:09:47 EST Article-I.D.: fortune.2314 Posted: Thu Jan 19 19:09:47 1984 Date-Received: Sat, 21-Jan-84 02:13:39 EST Sender: notes@fortune.UUCP Organization: Fortune Systems, Redwood City, CA Lines: 34 #R:sri-arpa:-1545900:fortune:26900018:000:848 fortune!rpw3 Jan 19 14:54:00 1984 The following aliases are VERY useful for browsing: alias go 'cd \!* ; echo "[ $cwd ]";ls -F' alias . 'cd ./\!* ; echo "[ $cwd ]";ls -F' alias .. 'cd ../\!* ; echo "[ $cwd ]";ls -F' The "echo" and/or the "ls" is optional; it's a matter of usage style. (Echo is cheap in "csh", "ls -F" is also a 4.1 thing) Note that "." tells you where you are. (Edited) example: % go / [ / ] READ_ME etc/ maint/ usr/ % . usr [ /usr ] bin/ games/ lib/ ucb/ % . lib [ /usr/lib ] aliases fontinfo/ libjobs.a* tabset/ % .. games [ /usr/games ] arithmetic* ching* mille* rogue* zork* (Using ">" and "<" for anything but re-direction seems asking for trouble...) Rob Warnock UUCP: {sri-unix,amd70,hpda,harpo,ihnp4,allegra}!fortune!rpw3 DDD: (415)595-8444 USPS: Fortune Systems Corp, 101 Twin Dolphins Drive, Redwood City, CA 94065