zdharma-continuum / zinit

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

fix: add `command` before instances of `git` that didn't have it #643

Closed kiliantyler closed 3 months ago

kiliantyler commented 3 months ago

Description

Motivation and Context

If git is aliased to something that doesn't work identically (e.g. bit) then zinit update <plugin> can fail, as well as zinit version

Most other instances of git already use command git, there was just a few missing.

How Has This Been Tested?

Types of changes

Checklist:

vladdoster commented 3 months ago

Did you check zinit{,-{additional,install,side}}.zsh or just zinit-autoload.zsh?

vladdoster commented 3 months ago

644 fixes failing test

vladdoster commented 3 months ago

@kiliantyler,

Thank you for taking the time to improve Zinit!