-
Notifications
You must be signed in to change notification settings - Fork 139
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
[bug]: failed to find the correct GitHub release asset to download, modify bpick-ICE #385
Comments
@amanjitsk did you see #228? |
Although I'm not sure if it's relevant to this issue, today I noticed that Originally, my setup was: zinit wait lucid as'program' for \
from'gh-r' ver'latest' pick'gh/bin/gh' mv'gh* -> gh' atclone'./gh/bin/gh completion --shell zsh > _gh' atpull'%atclone' \
cli/cli \ And the download failed:
I tried removing the zinit wait lucid as'program' for \
from'gh-r' pick'gh/bin/gh' mv'gh* -> gh' atclone'./gh/bin/gh completion --shell zsh > _gh' atpull'%atclone' \
cli/cli \ Then it succeeded:
|
The Here is what I used to do before: zinit ice wait lucid from"gh-r" ver"latest" bpick"nvim.appimage" \
as"null" mv"nvim* -> $PREFIX/bin/nvim"
zinit light neovim/neovim Would it not be possible to have this AppImage approach anymore? |
@chalkygames123, For example, to get v2.15.0 I'd use the following recipe: zi for \ <<<
as'program' \
atclone'./gh/bin/gh completion --shell zsh > _gh' \
atpull'%atclone' \
from'gh-r' \
mv'gh* -> gh' \
pick'gh/bin/gh' \
ver'v2.15.0' \
cli/cli Which results in: /usr/local/Cellar
ᐳ zi delete cli/cli --yes
Done (action executed, exit code: 0)
/usr/local/Cellar
ᐳ zi for \
as'program' \
atclone'./gh/bin/gh completion --shell zsh > _gh' \
atpull'%atclone' \
from'gh-r' \
mv'gh* -> gh' \
pick'gh/bin/gh' \
ver'v2.15.0' \
cli/cli
Downloading cli/cli…
(Requesting `gh_2.15.0_macOS_amd64.tar.gz'…)
#################################################################################################### 100.0%
ziextract: Unpacking the files from: `gh_2.15.0_macOS_amd64.tar.gz'…
ziextract: Successfully extracted and assigned +x chmod to the file: `gh_2.15.0_macOS_amd64/bin/gh'.
renamed 'gh_2.15.0_macOS_amd64' -> 'gh'
Installed 0 completions. They are stored in the $INSTALLED_COMPS array.
Skipped installing 1 completions. They are stored in the $SKIPPED_COMPS array.
/usr/local/Cellar 16s
ᐳ |
The Zinit currently filters out AppImages and I have yet to come across a project that releases an AppImage but no binary. Do you have a specific reason for using the AppImage? |
Makes sense, thanks for that link (I went back and read it again). zinit from'gh-r' sbin'**/nvim' ver'stable' for neovim/neovim I can't even find |
@vladdoster While the documentation says the following, do you mean it's out of date?
I'm also not sure why a pre-release is selected if explicit |
Correct, you will not see it in $PATH. The whole purpose of Please see bin-gem-node annex documentation. |
What happened?
The
bpick-ICE
does not work for theneovim/neovim
repo with the github releases. This used to work before, but it just stopped working recently. And thenvim.appimage
asset is indeed presentin the latest version on neovim here
Steps to reproduce
neovim
usingRelevant output
Screenshots and recordings
No response
Operating System & Version
OS: linux-gnu | Vendor: ubuntu | Machine: x86_64 | CPU: x86_64 | Processor: x86_64 | Hardware: x86_64
Zsh version
zsh 5.8.1 (x86_64-ubuntu-linux-gnu)
Terminal emulator
xterm-kitty
If using WSL on Windows, which version of WSL
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: