Closed pbar1 closed 4 years ago
Interesting issue. Just for giggles, can you try using GEOMETRY_PROMPT_PLUGINS_SECONDARY instead of GEOMETRY_PROMPT_PLUGINS and see if that fixes it?
Changing to GEOMETRY_PROMPT_PLUGINS_SECONDARY has the same effect. Looking at the code it looks like it might be because default plugins are registered all at once, and then third party ones are registered afterward?
Looks like thats the issue. Unfortunately I won't have time to look at it for a few weeks. If anyone else wants to try and fix it I can do a code review though.
Otherwise feel free to ping in a couple of weeks
If we merge #233 we will be able to close this
fixed by v2
Is it possible to order plugins? I made the custom plugin geometry-terraform to display the Terraform workspace of the current directory, and while it does work, the plugin placement is off:
This is the configuration I'm using in my zshrc, and I'd assume terraform would come first:
Versus this, the output I get from
geometry_plugin_list
; terraform is now at the end of the list, while the order of the rest of the plugins is still intact:What can I do to ensure the ordering is correct?
(This theme is incredible btw! It makes my daily dev work smoother and more fun)