Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 8/7/84; site ucbvax.ARPA Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!ucbvax!cuccia From: cuccia@ucbvax.ARPA (Nick Cuccia) Newsgroups: net.misc Subject: Re: Funny prompts Message-ID: <2511@ucbvax.ARPA> Date: Sat, 13-Oct-84 01:04:30 EDT Article-I.D.: ucbvax.2511 Posted: Sat Oct 13 01:04:30 1984 Date-Received: Sun, 14-Oct-84 06:48:51 EDT References: <6040@mcvax.UUCP> <581@gloria.UUCP> Organization: University of California at Berkeley Lines: 22 Some of us (UCB) here do really horrible things with our prompts. I have, in my .cshrc, the following: alias promp `set prompt=MachineName ($cwd) <\! > ` alias cd 'cd \!*; promp' and in my .login: promp This prints the full path, from the root, on UN*X systems. Some machines may not have the cwd variable, so you may need to add 'alias setcwd set cwd=`pwd`' to your .cshrc and insert setcwd ahead of promp in the cd alias above. On average my prompt length is about 25 chars, with its peak at close to 80. Have fun... --Nick Cuccia --ucbvax!cuccia