compinit should only be called once, after all modules, libs, etc are imported.
This change yields a much improved startup time, going from a life-sapping 3 seconds average before, to a much snappier 0.2 seconds average.
Removed calls to compinit in the extract and the bundler plugins. com…
…pinit should only be called once, after all modules, libs, etc are imported.
The also don't need to update the fpath as it is already done before the plugins are sourced.
This has been bugging me for ages. Please merge as soon as possible :)
Removed the assignments to fpath as well, since that's all handled in…
… the .oh-my-zsh/oh-my-zsh.sh boot script.
@gwjo - good catch. I've removed those two assignments also. Possibly for broader discussion elsewhere - should we be adding to fpath plugin directories we don't use? The current strategy seems to cycle through the whole contents of the plugins directory.
Thanks for the submission!