robbyrussell/oh-my-zsh — pull request #2822 by capitaomorte (2014-05-21 10:07:09+00:00)
Title: Refactor plugin-loading functionality

Hi,

I've had this small refactorization in my fork since 2012. It doesn't break any of the original functionality but it allows oh-my-zsh's plugins to loaded after sourcing `oh-my-zsh.sh`, by calling the new function `load_plugin`. Wonder if that's a good name or if you think it's polluting the zsh namespace.

Here's the changelog.

```
* oh-my-zsh.sh (add_plugin_fpath, source_plugin_zsh)
(load_plugin): New functions.
[top]: Use source_plugin_zsh and add_plugin_fpath
```