shfmt
Summary
Section titled “Summary”Installs shfmt, a shell parser, formatter, and interpreter, from a GitHub release binary.
Syntax / Usage
Section titled “Syntax / Usage”zi for \ from'gh-r' \ sbin'**/sh* -> shfmt' \ @mvdan/shDetails
Section titled “Details”from'gh-r'— downloads the release archive from GitHub Releases.sbin'**/sh* -> shfmt'— creates a shim namedshfmtpointing to the binary matching**/sh*anywhere in the archive tree (requireszinit-annex-bin-gem-node).
The annex zdharma-continuum/zinit-annex-bin-gem-node must be loaded before this recipe.
Examples
Section titled “Examples”# prerequisite — load once at the top of .zshrczinit light-mode for zdharma-continuum/zinit-annex-bin-gem-node
zi for \ from'gh-r' \ sbin'**/sh* -> shfmt' \ @mvdan/sh