Installing With Make
zinit ice as"program" pick"$ZPFX/bin/git-*" make"PREFIX=$ZPFX"
zinit light tj/git-extras
- Makefileof this project has only one needed target –- install, which is called by default,
- it also does building of the scripts that it installs, so it does 2 tasks,
- for Makefilewith 2 targets, one could usemake"all install PREFIX=…",
- pick'…'will- chmod +xall matching files and add- $ZPFX/bin/to- $PATH,
- $ZPFXis provided by Zinit, it is- ~/.zinit/polarisby default, can be also customized.