Closed zapashcanon closed 6 years ago
Hi!
Thanks for this. Before merging, are you sure this just applies to antigen? Wouldn't it be similar in zplug
(iirc)?
I don't use/know zplug, so can't help here, sorry !
It may be too specific to the plugin manager but I don't see too much of a trouble with adding it. 👍
Oh, yeah, I'm up for merging! I was just wondering if we should change it to be broader, without even specifying a package manager. As an example: "(...) you should set them before loading the theme in your package manager (e.g. antigen)"
Agree on that point.
The fact is that it's not just about loading the theme in the package manager. In my first example, I kinda set them before loading the theme with the package manager but it doesn't work.
@zapashcanon Can you clarify what works and what doesn't work?
I'm up for merging but text needs to be reworked in a generic way (example above is OK).
It's very clear in my first post, no ?
You must set env. var. before loading antigen. Loading them before antigen theme frmendes/geometry
is not enough.
@zapashcanon What wasn't clear was your previous comment. Otherwise I wouldn't ask.
Hum ok. It was just another way to explain what's in the first post.
Any updates on this?
It's not really about setting them before loading the theme. (This is already in the README
).
It's about setting them before "loading" the package manager. Sourcing antigen.zsh
for antigen e.g., but I don't know how other package manager are loaded/work, so it may not be the case.
@zapashcanon This seems to be an issue with this particular package manager rather than with geometry itself.
We think geometry should be agnostic to a package manager. It adds various install methods in its README.md
but just as a convenience.
@desyncr yeah, but if it affects users we might as well add in that information. It's not a big deal and it can avoid issues in the future for anyone who tries to install it.
Although I just noticed it's kinda lost in the middle of the README
. I'd rephrase it and put it in the antigen
specific section. What do you think?
@zapashcanon can you take a look at my last comment?
@fribmendes @zapashcanon The issue with Antigen is resolved so this gotcha is not necessary anymore.
Should we close this then? @desyncr
Yes. Thanks @zapashcanon for the work. It's currently solved in Antigen itself.
Hi,
Something like:
won't work. But:
is ok. So, I just added a note about it.