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

Re: precmd reserved names



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.

-- 
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