Personal dotfiles managed via a Git bare repository.
Use one shell and tool configuration on every machine you work on, with only Git and a POSIX shell.
$HOME is the Git working tree: no root access, symlinks, templating, or dotfiles manager.
Optional tools such as mise add features; the dotfiles work without them.
Supports POSIX sh, Bash, and Zsh; CI installs the dotfiles on six platforms on every push.
Compare this with other tools in Is this approach right for you?
| Goal | Start here |
|---|---|
Use these dotfiles in $HOME |
Follow Installation to deploy the bare repository. |
| Change or test the dotfiles | Follow Contributing to set up a regular development clone; do not run the installer in that clone. |
Deploy the configuration files into $HOME (requires Git, a POSIX shell, and curl):
curl -fsSL https://raw.githubusercontent.com/drts01/dotfiles/trunk/.config/dotfiles/bootstrap.sh | shThe installer fetches the repository with Git, runs its deploy script from that same commit,
and moves conflicting files to ~/.df-bak.
It tries to install optional mise with curl or wget;
a missing downloader or failed install only warns.
Plugin submodules are initialized only for selected tools on PATH.
Re-running the command is safe: it fast-forwards the existing checkout.
To review the script first, pin a commit, choose plugin groups, set DOTFILES_SKIP_MISE_INSTALL=1,
or install with Git alone, see the how-to guides.
Verify the install (with or without mise):
sh ~/.config/dotfiles/mise-tasks/doctor.shManage tracked files with the dotfiles alias, a git wrapper for the bare repository:
dotfiles status
dotfiles add .config/helix/config.toml
dotfiles commit --message "feat(helix): update config"Pull the latest dotfiles and initialize submodules for available tools (without mise):
sh ~/.config/dotfiles/mise-tasks/bootstrap.shIf mise is installed, mise run --cd ~/.config/dotfiles update runs the same update task.
Update the machine toolchain separately with mise --cd ~/.config/mise bootstrap.
Read the full documentation:
- Start here: install on a new machine and verify
- How-to guides: pin, update, customize, Helix, uninstall, troubleshoot
- Concepts: comparison with other tools, the bare repository, the installer, shell startup, security
- Reference: variables, tasks, shell files, hooks, platforms, glossary
- Changelog: breaking changes and migrations
Source: .config/dotfiles/docs/.
See CONTRIBUTING.md for developing from a clone, running tasks, and validating changes.
Report vulnerabilities privately; see SECURITY.md.
Licensed under the Apache License, Version 2.0.