Date: Wed, 27 Feb 2002 09:08:27 -0600 From: "Mike Meyer" <mwm-dated-1015254507.ed000d@mired.org> To: Roman Neuhauser <neuhauser@mobil.cz> Cc: questions@freebsd.org Subject: Re: Prompt Help Message-ID: <15484.63083.470357.61373@guru.mired.org> In-Reply-To: <63336402@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Roman Neuhauser <neuhauser@mobil.cz> 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. <mike -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15484.63083.470357.61373>
