From owner-freebsd-questions Wed Feb 27 7: 8:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 26DB637B405 for ; Wed, 27 Feb 2002 07:08:31 -0800 (PST) Received: (qmail 59956 invoked by uid 100); 27 Feb 2002 15:08:28 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15484.63083.470357.61373@guru.mired.org> Date: Wed, 27 Feb 2002 09:08:27 -0600 To: Roman Neuhauser Cc: questions@freebsd.org Subject: Re: Prompt Help In-Reply-To: <63336402@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.46 (Python 2.2; freebsd-4.5-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Roman Neuhauser types: > > I use zsh, where it would be PS1='%~%#'. However, zsh has a very cool > > variable called RPROMPT. It's expanded just like the prompt, then > > displayed right justified on the command line. So I set RPROMPT=' %~', > > and the working directory is on the right-hand side of the line I'm > > typing on. > zsh coolnes doesn't stop there, however. this is what I use: Very cool. I never thought of that, but it's really nice. My RPROMPT is now a different color, which makes it obvious that it's not part of the normal terminal text. I can still cut and paste it, though. Of course, we've just barely touched on the cool things that zsh can do. I think it's well worth a look to anyone who hasn't. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message