-
Notifications
You must be signed in to change notification settings - Fork 287
Description
According to the readme it says that antigen looks for *.plugin.zsh files. My gut feeling (and somewhat experience) is that you'll end up in a file structure like this
my-antigen-plugins
├── syntax-highlight
│ └── syntax-highlight.plugin.zsh
└── zaw
└── zaw.plugin.zsh
I personally would prefer
my-antigen-plugins
├── syntax-highlight
│ └── plugin.zsh
└── zaw
└── plugin.zsh
The second is more dry and more concise, plus adopting that standard would not let ambiguity in determining which *.plugin.zsh file should be loaded if there were many.
I know that you can "fake this" by knowing that you can have only one .zsh file and let that be named plugin.zsh but it feels so much like a hack then. Alternatively one can set the standard to *plugin.zsh, that is both zaw.plugin.zsh and plugin.zsh will work, but I personally would prefer a strict plugin.zsh pattern, allowing only the file to be named plugin.zsh.
So, have anyone else thought about this, any opinions? Sorry for bikeshedding this but I think it's worth considering this while antigen is in beta. Or probably the author have already thought about this but haven't documented the reaso n that the *.plugin.zsh pattern is better.