Skip to content

dust

Installs dust, a more intuitive du replacement written in Rust, from a GitHub release binary via an lbin shim.

Terminal window
zi for \
from'gh-r' \
lbin'!' \
id-as \
null \
@bootandy/dust
  • from'gh-r' — downloads the release archive from GitHub Releases.
  • lbin'!' — installs a lazy binary shim; the ! flag derives the shim name automatically from the binary (requires zinit-annex-bin-gem-node).
  • id-as — uses the repository name as the plugin ID.
  • null — disables script sourcing and completion installation.

The annex zdharma-continuum/zinit-annex-bin-gem-node must be loaded before this recipe.

Terminal window
# prerequisite — load once at the top of .zshrc
zinit light-mode for zdharma-continuum/zinit-annex-bin-gem-node
zi for \
from'gh-r' \
lbin'!' \
id-as \
null \
@bootandy/dust