# holman/dotfiles architecture

> Architecture diagram of the GitHub repository holman/dotfiles, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/holman/dotfiles
- Repository: https://github.com/holman/dotfiles

## Overview

This repository is a topic-organized personal dotfiles configuration for setting up and maintaining a shell and workstation environment. The documented setup workflow is to clone the repository and run `script/bootstrap`, which symlinks configuration into the home directory; afterward, topic `.zsh` files are loaded into the shell and `bin/` is added to PATH. The `dot` command supports ongoing maintenance by installing dependencies and applying macOS defaults. Source excerpts were unavailable, so links below are limited to relationships stated in the README.

Main entry points: [`bin/dot`](https://github.com/holman/dotfiles/blob/master/bin/dot) (Environment maintenance), [`script/bootstrap`](https://github.com/holman/dotfiles/blob/master/script/bootstrap) (Bootstrap), [`zsh`](https://github.com/holman/dotfiles/tree/master/zsh) (Zsh configuration), [`bin`](https://github.com/holman/dotfiles/tree/master/bin) (PATH commands)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Setup and maintenance"]
  node_bootstrap["Bootstrap"]
  node_home_config["Home configuration"]
  node_dot["Environment maintenance"]
  node_dependencies["Dependencies"]
  node_macos_defaults["macOS defaults"]
end

subgraph group_shell["Shell environment"]
  node_zsh["Zsh configuration"]
  node_shell_topics["Loaded topic files"]
end

subgraph group_topics["Topic configurations"]
  node_git["Git tools"]
  node_system["System settings"]
  node_macos["macOS settings"]
  node_homebrew["Homebrew"]
  node_ruby["Ruby"]
  node_editors["Editors"]
  node_vim["Vim"]
  node_xcode["Xcode"]
  node_yarn["Yarn"]
  node_docker["Docker"]
  node_atuin["Atuin"]
end

subgraph group_tools["Commands and utilities"]
  node_bin["PATH commands"]
  node_functions["Shell functions"]
end

node_user(("User"))

node_user -->|"runs"| node_bootstrap
node_bootstrap -->|"symlinks files"| node_home_config
node_zsh -->|"loads .zsh files"| node_shell_topics
node_bin -->|"adds commands to PATH"| node_user
node_user -->|"runs for upkeep"| node_dot
node_dot -->|"installs"| node_dependencies
node_dot -->|"applies defaults"| node_macos_defaults

click node_bootstrap "https://github.com/holman/dotfiles/blob/master/script/bootstrap"
click node_dot "https://github.com/holman/dotfiles/blob/master/bin/dot"
click node_macos_defaults "https://github.com/holman/dotfiles/tree/master/macos"
click node_zsh "https://github.com/holman/dotfiles/tree/master/zsh"
click node_bin "https://github.com/holman/dotfiles/tree/master/bin"
click node_git "https://github.com/holman/dotfiles/tree/master/git"
click node_system "https://github.com/holman/dotfiles/tree/master/system"
click node_macos "https://github.com/holman/dotfiles/tree/master/macos"
click node_homebrew "https://github.com/holman/dotfiles/tree/master/homebrew"
click node_ruby "https://github.com/holman/dotfiles/tree/master/ruby"
click node_editors "https://github.com/holman/dotfiles/tree/master/editors"
click node_vim "https://github.com/holman/dotfiles/tree/master/vim"
click node_xcode "https://github.com/holman/dotfiles/tree/master/xcode"
click node_yarn "https://github.com/holman/dotfiles/tree/master/yarn"
click node_docker "https://github.com/holman/dotfiles/tree/master/docker"
click node_atuin "https://github.com/holman/dotfiles/tree/master/atuin"
click node_functions "https://github.com/holman/dotfiles/tree/master/functions"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_bootstrap,node_home_config,node_dot,node_dependencies,node_macos_defaults,node_user toneBlue
class node_zsh,node_shell_topics toneAmber
class node_git,node_system,node_macos,node_homebrew,node_ruby,node_editors,node_vim,node_xcode,node_yarn,node_docker,node_atuin toneMint
class node_bin,node_functions toneRose
```

## Components

### Setup and maintenance

- [Bootstrap](https://github.com/holman/dotfiles/blob/master/script/bootstrap): `script/bootstrap`
- **Home configuration**
- [Environment maintenance](https://github.com/holman/dotfiles/blob/master/bin/dot): `bin/dot`
- **Dependencies**
- [macOS defaults](https://github.com/holman/dotfiles/tree/master/macos): `macos`

### Shell environment

- [Zsh configuration](https://github.com/holman/dotfiles/tree/master/zsh): `zsh`
- **Loaded topic files**

### Topic configurations

- [Git tools](https://github.com/holman/dotfiles/tree/master/git): `git`
- [System settings](https://github.com/holman/dotfiles/tree/master/system): `system`
- [macOS settings](https://github.com/holman/dotfiles/tree/master/macos): `macos`
- [Homebrew](https://github.com/holman/dotfiles/tree/master/homebrew): `homebrew`
- [Ruby](https://github.com/holman/dotfiles/tree/master/ruby): `ruby`
- [Editors](https://github.com/holman/dotfiles/tree/master/editors): `editors`
- [Vim](https://github.com/holman/dotfiles/tree/master/vim): `vim`
- [Xcode](https://github.com/holman/dotfiles/tree/master/xcode): `xcode`
- [Yarn](https://github.com/holman/dotfiles/tree/master/yarn): `yarn`
- [Docker](https://github.com/holman/dotfiles/tree/master/docker): `docker`
- [Atuin](https://github.com/holman/dotfiles/tree/master/atuin): `atuin`

### Commands and utilities

- [PATH commands](https://github.com/holman/dotfiles/tree/master/bin): `bin`
- [Shell functions](https://github.com/holman/dotfiles/tree/master/functions): `functions`

### Other components

- **User**

## Connections

- User → Bootstrap: runs (evidence: `README.md`)
- Bootstrap → Home configuration: symlinks files (evidence: `README.md`)
- Zsh configuration → Loaded topic files: loads .zsh files (evidence: `README.md`)
- PATH commands → User: adds commands to PATH (evidence: `README.md`)
- User → Environment maintenance: runs for upkeep (evidence: `README.md`)
- Environment maintenance → Dependencies: installs (evidence: `README.md`)
- Environment maintenance → macOS defaults: applies defaults (evidence: `README.md`)
