Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: precmd, preexec, and supplied prompt themes
- X-seq: zsh-workers 23951
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: precmd, preexec, and supplied prompt themes
- Date: Sat, 13 Oct 2007 13:47:12 -0700
- In-reply-to: <200710131910.l9DJA3kr003265@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200710131910.l9DJA3kr003265@xxxxxxxxxxxxxxxxxxx>
On Oct 13, 8:10pm, Peter Stephenson wrote:
} Subject: Re: precmd, preexec, and supplied prompt themes
}
} Bart Schaefer wrote:
} > It's always seemed a bit clunky to me to do build up function names
} > by sticking the theme name in the middle, but that's at nit-pick.
} > Maybe all we need is another one of those functions, prompt_ZZZ_off
} > (or pick another word).
}
} We could do it with one level of indirection...
That deals with the nit-pick, but doesn't really answer the question of
what to do with PS1.
Maybe promptinit should store the original values of all the {R,}PS*
variables somewhere, so they can be put back on teardown.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author