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

Re: Clearing RPS1: Is there a better way to do this?



On Oct 15,  2:53pm, Geoff Wing wrote:
}
} Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> typed:
} :Othere suggestions (including Geoff jumping up and offering to implement
} :this in the ZLE code) would be welcome.
} 
} Controlled by setopt #136?  Name suggestion?

That was my original thought, but I've been batting around the idea of
having it controlled by a prompt escape.

It'd be a bit odd to have an escape that means something only in the right
prompt, I guess.  I was even thinking maybe of overloading %E, e.g. in the
right prompt, %-1E causes it to be deleted after the fact, or something
like that.  Probably that's just too strange.

`setopt TRANSIENT_RPROMPT', perhaps?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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