Using Prezto with antidote #72
mattmc3
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
NOTE: See update below
You can use Prezto modules just like any other plugin with the help of the
path:annotation. However, you need to understand some of the internals of Prezto to use it effectively.If you aren't using Prezto's main init file, you need to follow a few simple tips to get Prezto to work:
pmodloadfunction for loading modules. You won't need that with antidote, but it still has to exist - so you will need to create an emptypmodloadfunction yourself..zpreztorcwith itszstyleconfigurations. You will need to do that yourself, or add Prezto'szstylesto your.zshrcprior to loading it.helpermodule first or any dependencies prior to other modules.kind:autoloadannotation.Prezto isn't treated differently than any other bundle in antidote, which means all of Prezto's inter-dependencies will be yours to manage, should you choose to leverage it.
Updated answer 2024-08-01
I have published a new plugin, getantidote/use-prezto which makes using Prezto much easier. Instead of defining your own
pmodload, sourcing .zpreztorc, loadinghelperfirst, and doing all that other setup noise - you can now simply load getantidote/use-prezto first and it will handle all that setup for you:All reactions