You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just did a test run on this for oh-my-zsh (never tried zplug but I imagine it's similar?). Instead of
autoload -Uz add-zsh-hook
in .zshrc, I have plugins=(git zsh-autosuggestions ...others... zsh-histdb). Then, to match the oh-my-zsh plugin pattern ( '$base_dir/plugins/$name/$name.plugin.zsh' or '$base_dir/plugins/$name/_$name'), I just symlinked ln -s sqlite-history.zsh zsh-histdb.plugin.zsh.
Seems to work just the same. So that is a plausible addition. In fact $name.plugin.zsh seems a quite common pattern. I wonder if it's worth it to rename sqlite-history.zsh to zsh-histdb.plugin.zsh.
I'd love to add zplug support and other plugin manager support to this. Is this something that PRs would be welcomed for?
The text was updated successfully, but these errors were encountered: