zsh4humans icon indicating copy to clipboard operation
zsh4humans copied to clipboard

Use with `antidote`

Open ParadaCarleton opened this issue 11 months ago • 3 comments

How would I use Z4H with a package manager like antidote? I'm trying to write up my own zsh initialization script and like the z4h defaults for e.g. keybindings, but I'm trying to keep everything under antidote so it's easy to manage.

ParadaCarleton avatar May 28 '25 16:05 ParadaCarleton

I think you will have a difficult time using antidote and Z4H together. Speaking from experience, some Z4H functionality (prompt-at-bottom) can be used in normal zsh config with some trial and error. But the features of Z4H just aren't designed to be modular pieces that can be picked from.

You're going to have a much easier time just using z4h install/load/source for plugin management. I'm not familiar with antidote, but if your rationale for using it is speed and performance. Then just simply use Z4H. romkatv's zsh-bench is the sole reason for zsh plugin managers actually becoming performant (even ones that claimed they were already fast). Have a look at the repo as it relates to Z4H, showing the huge performance delta between Z4H and contemporary zsh plugin managers.

Sneethe avatar May 31 '25 17:05 Sneethe

You're going to have a much easier time just using z4h install/load/source for plugin management. I'm not familiar with antidote, but if your rationale for using it is speed and performance. Then just simply use Z4H.

My main concern is the big banner at the top of the README:

THE PROJECT HAS VERY LIMITED SUPPORT NO NEW FEATURES ARE IN THE WORKS MOST BUGS WILL GO UNFIXED

In addition to the lack of documentation, which kept me from working out this includes a package manager bundled into it.

ParadaCarleton avatar Jun 11 '25 16:06 ParadaCarleton

zsh4humans is pretty stable. As all its dependencies are version locked. If your system installed fzf and zsh had breaking changes, you can have Z4H use its own version very easily. The most common issue will be if a plugin makes use of git submodules or handles _completion in a way z4h-fzf-complete (tab complete) doesn't expect. Both of these issues can be worked around.

like the z4h defaults for e.g. keybindings

If you can expand on exactly what you're hoping to replicate I may be able to assist.

Sneethe avatar Jun 12 '25 02:06 Sneethe