Skip to content

Repository files navigation

Dotfiles

Personal dotfiles managed by chezmoi, with shell and tool configuration, portable CLI packages, and optional containers.

Bootstrap

Install chezmoi into the user directory and apply this repository:

curl -fsLS https://get.chezmoi.io | sh -s -- \
  -b "$HOME/.local/bin" \
  init --apply https://github.com/wangl-cc/dotfiles.git

Initialization prompts for machine-local options and saves them in ~/.config/chezmoi/chezmoi.toml.

Initialization also prepends ~/.local/bin and ~/.cargo/bin to the saved PATH for chezmoi and its child processes. Existing installations should run "$HOME/.local/bin/chezmoi" init without applying to generate this setting, then review the diff before applying. The remaining PATH entries are captured at initialization; use chezmoi edit-config to update the saved env.PATH if those search paths change.

Container deployment prompts appear only on Linux, and networking and ACME prompts follow the enabled services. Run chezmoi init --prompt without applying to regenerate existing configuration with these conditions; enabled workspaces initialize acme.ca to ZeroSSL and require a contact email.

Updates

chezmoi update

Use chezmoi edit-config to change local options, then review chezmoi diff before chezmoi apply. When initialization options change, run chezmoi init --prompt without applying first; see the configuration and migration notes.

Documentation

About

Dotfiles for myself.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages