Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!unisoft!greywolf From: greywolf@unisoft.UUCP (The Grey Wolf) Newsgroups: comp.unix.wizards Subject: Re: pwd prompts in unix Message-ID: <3542@unisoft.UUCP> Date: 28 Jun 91 02:34:26 GMT References: <27275@adm.brl.mil> <1991Jun24.140512.6143@uokmax.ecn.uoknor.edu> <1991Jun25.033343.21971@magnus.acs.ohio-state.edu> Reply-To: greywolf@unisoft.UUCP (The Grey Wolf) Organization: Foo Bar and Grill Lines: 20 /* <1991Jun25.033343.21971@magnus.acs.ohio-state.edu> by reich@magnus.acs.ohio-state.edu (A Minor Diety) * In article <1991Jun24.140512.6143@uokmax.ecn.uoknor.edu> jkmedcal@uokmax.ecn.uoknor.edu (Jeff Medcalf) writes: * |In tcsh, I use the following to shell commands in my .cshrc: * | * |set prompt=%m\[%c\]\{%!\}\: * |set prompt2=%m\[%c\]\{%!\}\? * | * |%m is replaced by the machine name, %c is replaced by the last element of the * |cwd, and %! is replaced by the history number. Why don't you do something like set prompt=".> " Seriously speaking, what is this drek doing in c.u.w? -- # "Religion is a weapon invented by the sheep to keep the wolves in line." # greywolf@unisoft.com