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

Re: precmd reserved names



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