zsh-users / antigen

The plugin manager for zsh.
http://antigen.sharats.me
MIT License
8.01k stars 279 forks source link

Use function scope to source external bundles #713

Open belak opened 4 years ago

belak commented 4 years ago

This is meant to fix https://github.com/romkatv/gitstatus/issues/168 by changing the source call in the cache to use an anonymous function so no arguments are passed. I'm not sure if this will break anything by putting the call inside a function rather than the global scope but this seems to work.