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

Re: precmd reserved names



Seems, not for me. It also doesn't need to be autoloaded, if it's called 
prompt_foo_precmd_bar, it just isn't executed if it has exactly the mentioned 
name.

Peter wrote:
> On Sun, 18 Jan 2009 14:23:29 +0100
>
> tek <tek@xxxxxxxxxxxx> wrote:
> > Yes, sorry, I should have been more detailed about this - it is in a
> > prompt theme file, called prompt_foo_setup, and the file lies in a
> > directory added to $fpath. I load the prompt with 'prompt foo', and when
> > the function is named prompt_foo_precmd, it isn't executed, but it is
> > otherwise.
>
> It should work as long as it's marked for autoload by that point.


Attachment: signature.asc
Description: This is a digitally signed message part.



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