-
I have some tools that have either completions or other integrations that are called via For example let's look at theacodes/nox. It's installed via another method ( Currently implimented: zinit wait lucid light-mode for \
if"builtin command -v nox > /dev/null 2>&1" \
atinit"autoload -U bashcompinit; bashcompinit;" \
is-snippet $HOME/rc_files/nox.zsh \
... Where However this is not efficient, as There's a really good direnv example that's really similar to my problem, but assumes you're using zinit to compile. Trying to sloppily convert this, I try: zinit wait lucid light-mode for \
if"builtin command -v nox > /dev/null 2>&1" \
atclone"register-python-argcomplete nox > zhook.zsh" \
atpull'%atclone' \
src"zhook.zsh" \
atinit"autoload -U bashcompinit; bashcompinit;" \
is-snippet $HOME/rc_files/nox.zsh \
...
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
It seems this was partially answered by the existence of zdharma-continuum/null, which implies a "package" is always needed here. |
Beta Was this translation helpful? Give feedback.
-
Here's something I usually do for pip(x) packages: zinit wait lucid light-mode as"null" nocompile \
atclone"pipx install nox; register-python-argcomplete nox > zhook.zsh" \
atpull"pipx update nox; rm -f zhook.zsh; register-python-argcomplete nox > zhook.zsh" \
atdelete"pipx uninstall nox" \
atload"autoload bashcompinit && bashcompinit && source zhook.zsh" \
for theacodes/nox |
Beta Was this translation helpful? Give feedback.
-
Oh! There's https://github.com/NICHOLAS85/z-a-eval that's worth a try as well :) |
Beta Was this translation helpful? Give feedback.
Oh! There's https://github.com/NICHOLAS85/z-a-eval that's worth a try as well :)