Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use zinit to install binary #175

Closed
DanKGooGLy opened this issue Apr 6, 2021 · 4 comments
Closed

Use zinit to install binary #175

DanKGooGLy opened this issue Apr 6, 2021 · 4 comments

Comments

@DanKGooGLy
Copy link

How would I use zinit to install the zoxide binary from github releases? I currently have

zinit wait"1" lucid as"command" for \
    (other command binaries)
    from"gh-r" mv"zoxide* -> zoxide" pick"zoxide/zoxide" \
        ajeetdsouza/zoxide
@ajeetdsouza
Copy link
Owner

Hey @DanKGooGLy, if you found the solution to this, could you share it here? I think other zinit users might find this useful.

@DanKGooGLy
Copy link
Author

I wasn't able to find an actual solution, so I used cargo to install zoxide. Would you like me to investigate some more?

@m-wynn
Copy link

m-wynn commented May 14, 2021

zinit ice wait"2" as"command" from"gh-r" lucid \
  mv"zoxide*/zoxide -> zoxide" \
  atclone"./zoxide init zsh > init.zsh" \
  atpull"%atclone" src"init.zsh" nocompile'!'
zinit light ajeetdsouza/zoxide

@ajeetdsouza
Copy link
Owner

Thanks, @m-wynn!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants