On this page

Install only the plugins you use, and add skipped plugins later.

Prerequisites

  • The tool for each group you want on PATH: zsh, nvim, lua or luajit, or zola. The installer skips a group whose tool is missing, even when you select it.

By default, the installer selects zsh, nvim, and lua when their tools are present. See Plugin groups for every group and its submodules.

Exclude groups at install

Set DOTFILES_SKIP_SUBMODULES on the sh that reads the pipe:

curl -fsSL https://raw.githubusercontent.com/drts01/dotfiles/trunk/.config/dotfiles/bootstrap.sh | DOTFILES_SKIP_SUBMODULES=nvim,lua sh

Use DOTFILES_SKIP_SUBMODULES=all to skip every group. Zsh and Neovim start without their plugins; plugin features stay unavailable.

Select groups at install

Set DOTFILES_SUBMODULES to a comma-separated list:

curl -fsSL https://raw.githubusercontent.com/drts01/dotfiles/trunk/.config/dotfiles/bootstrap.sh | DOTFILES_SUBMODULES=zsh sh

Unknown group names fail before checkout.

Add a group later

  1. Install the group's tool.

  2. Run the deploy script with the group selected:

    DOTFILES_SUBMODULES=nvim sh ~/.config/dotfiles/mise-tasks/bootstrap.sh

Verify

List the submodules; a leading - marks one that is not initialized:

cd ~ && git --git-dir="$HOME/.local/share/dotfiles" --work-tree="$HOME" submodule status

Undo

Both variables apply to one run; later runs without them detect tools again. Skipping a group does not remove plugins that are already initialized. To remove them, deinitialize the group's path from Plugin groups:

cd ~ && git --git-dir="$HOME/.local/share/dotfiles" --work-tree="$HOME" submodule deinit -- .config/nvim/pack/plugins/start