starship
Summary
Section titled “Summary”Installs the Starship cross-shell prompt from a GitHub release binary and makes starship available on $PATH.
Syntax / Usage
Section titled “Syntax / Usage”zi for \ from'gh-r' \ sbin'**/starship -> starship' \ starship/starshipDetails
Section titled “Details”from'gh-r'— downloads the release archive from GitHub Releases.sbin'**/starship -> starship'— creates a shim namedstarshippointing to the binary anywhere in the archive tree (requireszinit-annex-bin-gem-node).
This recipe only installs the binary. To activate the Starship prompt, add eval "$(starship init zsh)" to .zshrc after this block, or use atload'eval "$(starship init zsh)"' in the recipe.
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'**/starship -> starship' \ starship/starship
# Activate the prompt after installationeval "$(starship init zsh)"