marlonrichert / zsh-hist

📝 Edit your Zsh history from the command line.
MIT License
148 stars 13 forks source link

Widgets are not found anymore #4

Closed Gerrit-K closed 3 years ago

Gerrit-K commented 3 years ago

I'm loading zsh-hist using zinit and sice the latest commit I get an error whenever I want to execute a zle widget. For example: No such shell function `.hist.undo.widget' for ^_. Probably related to the removed autoload stuff?

marlonrichert commented 3 years ago

Thanks for reporting this. This is actually a bug in Zinit, but I can add a workaround for it, since it can take many months before such a bug in Zinit gets fixed.

marlonrichert commented 3 years ago

PS: If you're interested in switching to a less buggy plugin manager that functions more transparently, I can highly recommend Znap. 😉

Gerrit-K commented 3 years ago

Thanks for the quick reply! I honestly didn't think of that, sorry. If it doesn't take too much time, I'd appreciate a workaround, but I would truly understand if you don't want to integrate workarounds for external bugs.

Thanks for the hint on Znap, will take a look 🙂 I originally used oh-my-zsh, then zplug and eventually zinit due to the freedom and configurability it offers (i.e. I also manage a couple of binary releases, such as k3d, pulumi and terraform, with it). But I have to agree that due to the complexity a fix on one end often causes new bugs on others and it also makes it more difficult for potential contributors to understand the project and support the maintainer ...

marlonrichert commented 3 years ago

No problem: Here's the workaround already. 🙂

And if there's any features you'd like to see in Znap to help you switch over, feel free to open issues for them over there.