{"id":18657380,"url":"https://github.com/garretpatten/dotfiles","last_synced_at":"2026-04-28T18:06:28.216Z","repository":{"id":194650842,"uuid":"691291089","full_name":"garretpatten/dotfiles","owner":"garretpatten","description":"My personal configuration files for Arch Linux, macOS, and Ubuntu; this repository serves as a submodule for the setup scripts repositories.","archived":false,"fork":false,"pushed_at":"2026-04-23T12:10:04.000Z","size":2256,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-23T14:18:19.809Z","etag":null,"topics":["configuration-files","dotfiles"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garretpatten.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-13T22:09:43.000Z","updated_at":"2026-04-23T12:10:06.000Z","dependencies_parsed_at":"2023-11-11T20:25:31.865Z","dependency_job_id":"2a801a50-a433-4e52-9167-ede01df06a3c","html_url":"https://github.com/garretpatten/dotfiles","commit_stats":null,"previous_names":["garretpatten/config-files","garretpatten/dotfiles"],"tags_count":0,"template":false,"template_full_name":"garretpatten/template","purl":"pkg:github/garretpatten/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garretpatten%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garretpatten%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garretpatten%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garretpatten%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garretpatten","download_url":"https://codeload.github.com/garretpatten/dotfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garretpatten%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration-files","dotfiles"],"created_at":"2024-11-07T07:28:01.169Z","updated_at":"2026-04-28T18:06:28.210Z","avatar_url":"https://github.com/garretpatten.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dotfiles\n\nPersonal configuration files for my development environment.\n\n## Layout\n\nAutomation can copy or symlink entire trees without per-file mapping:\n\n- **`config/`** — XDG-style application configs (Neovim, Ghostty, Zellij,\n  Alacritty, Kitty, Oh My Posh themes, etc.). Paths inside these files avoid\n  machine-specific locations where possible (e.g. Neovim uses `stdpath()` for\n  cache/state; Alacritty theme imports use `$HOME/.config/...`).\n- **`home/`** — Dotfiles meant for the home directory (e.g. `.zshrc`,\n  `.bashrc`, `.tmux.conf`, `.vimrc`). OS-specific zsh snippets live under\n  **`home/zsh/`** and are sourced from **`home/.zshrc`** after resolving the\n  repo root. Tmux 3.1+ can use `~/.config/tmux/tmux.conf`; this repo still ships\n  **`~/.tmux.conf`** for broad compatibility.\n\n### `DOTFILES` and shell startup\n\n`home/.zshrc` sets **`DOTFILES`** to the repository root by:\n\n1. Reading **`~/.dotfiles_path`** if it exists and still points at a tree that\n   contains `home/zsh/`, or\n2. Searching a few common locations once, then writing the result to\n   **`~/.dotfiles_path`** so the next login avoids repeated filesystem checks.\n\nOverride **`DOTFILES`** in **`~/.local_extras`** if your clone lives somewhere\nelse.\n\n### XDG directories\n\n`home/.zshrc` exports standard defaults when unset (XDG Base Directory spec):\n\n| Variable          | Default              |\n| ----------------- | -------------------- |\n| `XDG_CONFIG_HOME` | `$HOME/.config`      |\n| `XDG_DATA_HOME`   | `$HOME/.local/share` |\n| `XDG_CACHE_HOME`  | `$HOME/.cache`       |\n| `XDG_STATE_HOME`  | `$HOME/.local/state` |\n\nTools that respect these (including many terminals and Neovim) can find configs\nunder `~/.config` without littering `$HOME`.\n\n## Setup script\n\nFrom the repository root, **`./setup.sh`**:\n\n- Verifies **`config/`** and **`home/`** exist before doing anything.\n- If **`.gitmodules`** is present, runs\n  **`git submodule update --init --recursive`** only when submodules are not yet\n  initialized; otherwise **`git submodule update --recursive`**. Safe to run\n  repeatedly.\n\n## CI\n\nGitHub Actions runs **StyLua** on `config/nvim` and **ShellCheck** on\n**`setup.sh`** and **`home/zsh/*.zsh`**.\n\n## What's Inside\n\n### Terminal \u0026 Shell\n\n- **Alacritty** — `config/alacritty/`\n- **Ghostty** — `config/ghostty/`\n- **Kitty** — `config/kitty/`\n- **Zellij** — `config/zellij/`\n- **Oh My Posh** — Prompt themes (`config/oh-my-posh/`)\n\n### Editors\n\n- **Neovim** — `config/nvim/`; plugins via\n  [lazy.nvim](https://github.com/folke/lazy.nvim). Options live in\n  **`lua/config/lazy.lua`** (`install.missing = true`,\n  `change_detection.enabled = false` for non-interrupting installs and\n  automation). **`lazy-lock.json`** is committed so plugin revisions match across\n  machines. Example headless sync:\n  `XDG_CONFIG_HOME=/path/to/this/repo/config nvim --headless \"+Lazy! sync\" +qa`\n- **VS Code** — `vs-code/`\n\n### Other\n\n- **Taskwarrior** — `taskwarrior/` (includes a themes submodule)\n\n## Usage\n\nThese are my personal configurations. Feel free to browse and adapt them for your\nown use. Machine-specific settings can live in `~/.local_extras`, which is sourced\nfrom `home/.zshrc` and `home/.bashrc` when present.\n\n## License\n\nMIT License — see [LICENSE](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarretpatten%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarretpatten%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarretpatten%2Fdotfiles/lists"}