zsh_codex
zsh_codex copied to clipboard
Support zinit zsh plugin system
Please add support for zinit plugin system: https://github.com/zdharma-continuum/zinit. Thanks a lot for this amazing project!
Thanks for the issue, I should add support for other plugin managers.
In the meantime you could set ZSH_CUSTOM
yourself so the following code line works:
completion=$(echo -n "$text" | $ZSH_CUSTOM/plugins/zsh_codex/create_completion.py $CURSOR)
Just a heads up that the ZSH_CUSTOM workaround doesn't work with antibody as the default path is $XDG_CACHE_HOME/antibody/
(no plugins directory)
@ceuk I know it's not perfect but you could create a zsh_custom
folder that contains a symlink plugins
that points to $XDG_CACHE_HOME/antibody/
@tom-doerr that's exactly what I did end up doing :)