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

Re: 4.3.17 unset RPS1 vs RPROMPT

Phil Pennock wrote:
> Fundamentally, in zsh at present, it seems that magic variables can not
> have their magic purged from them as the names can never truly be
> unbound, just temporarily made unavailable, yet the same content can be
> available under other names.

Right, this is one fundamental issue; it's always been that way.

It's not 100% clear that if someone running "unset RSP1 RPROMPT" has
really got it in mind that they never want to set a right prompt again,
though, particularly if they're used to how the shell currently works.

It would probably be neatest to make a distinction as an option either
to unset or to the shell (the latter making it easy to provide
compatibility with other shells).

Not new, so can wait for now...

Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/

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