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