Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: precmd reserved names
- X-seq: zsh-workers 26314
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: precmd reserved names
- Date: Thu, 15 Jan 2009 14:46:12 +0000
- In-reply-to: <200901142124.14881.tek@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <200901142124.14881.tek@xxxxxxxxxxxx>
On Wed, 14 Jan 2009 21:24:10 +0100
tek <tek@xxxxxxxxxxxx> wrote:
> I noticed that prompt_THEME_precmd(in a prompt theme) isn't executed anymore
> if added to precmd_functions in 4.3.9, while it was in 4.3.6. As I didn't
> find anything in the ChangeLog, I thought maybe someone forgot to mention
> that.
It can't be quite that simple.
% prompt_THEME_precmd() { print Executing function; }
% precmd_functions=(prompt_THEME_precmd)
Executing function
Do you mean something different? For example, do you mean "doesn't get
automatically added to precmd_functions"? That also seems to be working
for me.
Can you reproduce this starting from "zsh -f"?
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author