All tools/chezmoi

chezmoi

chezmoi

Manage your dotfiles across multiple diverse machines, securely.

Detected by chezmoi | macOS, Linux, Windows |www.chezmoi.io
chezmoi already syncs these files itself. Two writers on one file fight, and the tool wins — it holds the file open and rewrites it from its own copy. Leave these to chezmoi, or turn its own sync off before handing them to anything else. Otty lists this tool like any other and leaves it switched off, and asks before you turn it on.

Sync rules

What travels, what stays, what never leaves
chezmoi in your home directory Every rule on this page, by file
sourceDir = "/Users/octocat/.local/share/chezmoi"machine-local
destDir = "/Users/octocat"machine-local
cacheDir = "/Users/octocat/Library/Caches/chezmoi"machine-local
workingTree = "/Users/octocat/dotfiles"machine-local
persistentState = "/Users/octocat/Library/Application Support/chezmoi/chezmoistate.boltdb"machine-local
mode = "file"
umask = 0o022

Each machine keeps its own copy of these.

sourceDir: /home/octocat/.local/share/chezmoimachine-local
destDir: /home/octocatmachine-local
cacheDir: /home/octocat/.cache/chezmoimachine-local
workingTree: /home/octocat/dotfilesmachine-local
persistentState: /home/octocat/.config/chezmoi/chezmoistate.boltdbmachine-local
mode: file
data:
email: octocat@example.com

Each machine keeps its own copy of these.

{
"sourceDir": "/home/octocat/.local/share/chezmoi",machine-local
"destDir": "/home/octocat",machine-local
"cacheDir": "/home/octocat/.cache/chezmoi",machine-local
"workingTree": "/home/octocat/dotfiles",machine-local
"persistentState": "/home/octocat/.config/chezmoi/chezmoistate.boltdb",machine-local
"mode": "symlink",
"data": {
"email": "octocat@example.com",

Each machine keeps its own copy of these.

· chezmoi.jsonc Sync
· ~/.cache/chezmoi/ Exclude

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/chezmoi. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these is generated from the same rules as this page. None of them splits sourceDir and destDir for you — that part is Otty’s own sync, or a template you write by hand.