Show & Tell: Multiple git extension tools loaded in turbo with sbin shims
Summary
Section titled “Summary”A concise pattern from the zinit README for loading multiple git extension tools from GitHub in turbo mode, 1 second after the prompt, using the zinit-annex-bin-gem-node sbin ice for shim creation.
Details
Section titled “Details”Key points:
as'null'disables script sourcing (these are command-line tools, not zsh plugins)sbincreates shims in$ZPFX/bin(automatically in PATH)lucidsuppresses the “Loaded” messagewait'1'defers loading to 1 second after prompt, keeping startup fast- Tools without special config are just listed by their
user/repo - Tools needing post-install steps use
atloadormakeices per-entry in theforblock
Examples
Section titled “Examples”zi as'null' lucid sbin wait'1' for \ Fakerr/git-recall \ davidosomething/git-my \ iwata/git-now \ paulirish/git-open \ paulirish/git-recent \ atload'export _MENU_THEME=legacy' \ arzzen/git-quick-stats \ make'install' \ tj/git-extras \ make'GITURL_NO_CGITURL=1' \ sbin'git-url;git-guclone' \ zdharma-continuum/git-urlTarget install directory is $ZPFX (~/.local/share/zinit/polaris by default, which is prepended to $PATH).
See Also
Section titled “See Also”- The
zinit-annex-bin-gem-nodeannex documentation for the fullsbinspec.