Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Wish for rprompt feature



* Bart Schaefer (2004-03-20 18:10 +0100)
> On Mar 19, 12:41pm, Thorsten Kampe wrote:
> } I have my pwd ("%~") in my RPROMPT (as probably many people). When the
> } path to the pwd is long (or I type a long command line) the rprompt
> } disappears and makes place for my typing.
> } 
> } This is a feature and generally a good thing but the problem is that
> } the /whole/ rprompt disappears and not just the space I need.
> 
> Have you looked at some of the "prompt themes" that come with recent zsh?
> A couple of them include two-line prompts that put the working directory
> on the upper line, out of the way.

Thanks, but I'd like to keep a one line prompt (that's the main reason
for using rprompt at all) and I'd like to use rprompt because it
already does everything I want (except the thing I mentioned).

Customising your prompt so that it works like rprompt plus the "[...]"
would require zsh skills beyond mine.

Thorsten



Messages sorted by: Reverse Date, Date, Thread, Author