zdharma-continuum / zinit

🌻 Flexible and fast ZSH plugin manager
MIT License
2.73k stars 122 forks source link

fix: `gh-r` ignores `pkg` archives by default #617

Closed vladdoster closed 5 months ago

vladdoster commented 6 months ago

Description

The latest starship release added a pkg file for only aarch64 macOS, but zinit does not support the archive type because it requires sudo rights.

If a user wants to use the pkg type, it is still possible by using bpick.

zinit for \
    from'gh-r' \
    bpick'*pkg' \
  @starship/starship

Usage examples

Screenshot 2024-01-02 at 6 29 07 PM

How Has This Been Tested?

Types of changes

Checklist:

vladdoster commented 6 months ago

zst support

before

Screenshot 2024-01-02 at 6 49 07 PM

after

Screenshot 2024-01-02 at 6 48 46 PM