{"id":27650712,"url":"https://github.com/damtzi/dotfiles","last_synced_at":"2026-05-03T12:36:47.220Z","repository":{"id":61920929,"uuid":"556283578","full_name":"damtzi/dotfiles","owner":"damtzi","description":"My personal dotfiles 💾","archived":false,"fork":false,"pushed_at":"2026-04-26T10:25:57.000Z","size":249,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-26T12:22:01.231Z","etag":null,"topics":["dotfiles","hyper","shell","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/damtzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"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":"2022-10-23T13:56:19.000Z","updated_at":"2026-04-26T10:26:02.000Z","dependencies_parsed_at":"2025-04-24T03:46:11.307Z","dependency_job_id":"6d391e9b-34c9-4865-a82f-0b748faf84a1","html_url":"https://github.com/damtzi/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/damtzi/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damtzi%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damtzi%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damtzi%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damtzi%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damtzi","download_url":"https://codeload.github.com/damtzi/dotfiles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damtzi%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32569714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"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":["dotfiles","hyper","shell","zsh"],"created_at":"2025-04-24T03:46:06.801Z","updated_at":"2026-05-03T12:36:47.196Z","avatar_url":"https://github.com/damtzi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\n\nPersonal dotfiles for macOS, managed with automated setup scripts.\n\n## Features\n\n- **Organized structure** - Configs separated by type (shell, git, config, scripts)\n- **Automated setup** - Bootstrap script for fresh machine setup\n- **Safe installation** - Automatic backup of existing configs\n- **Git config split** - Public settings in repo, private details in local file\n- **Sensitive data protection** - Templates for configs with secrets\n\n## What's Included\n\n### Shell Configuration\n- **Zsh** - Main shell with oh-my-zsh, syntax highlighting, autosuggestions\n- **Starship** - Modern prompt for interactive shells, including Ghostty and Warp\n- **Bash** - Compatibility configs\n\n### Development Tools\n- **Git** - Config with GPG signing, LFS support\n- **GitHub CLI** - Authentication and host config\n- **SSH** - Config for multiple GitHub accounts (personal, work)\n- **Package Managers** - npm, yarn, pnpm configs\n\n### Applications\n- **Zed** - Editor settings with LSP, formatter, agent config\n- **OpenCode** - AI agent config with custom instructions and skills\n- **Warp** - Terminal emulator with keybindings, launch configs, and custom themes\n- **Ghostty** - Terminal emulator config\n- **Brewfile** - 67+ packages, casks, and VSCode extensions\n\n## Prerequisites\n\n- macOS (tested on Apple Silicon)\n- Xcode Command Line Tools (bootstrap script will install)\n\n## Fresh Machine Setup\n\nFor setting up a brand new Mac:\n\n```bash\n# Clone this repo\ngit clone https://github.com/YOUR_USERNAME/dotfiles.git ~/.dotfiles\ncd ~/.dotfiles\n\n# Run bootstrap script (installs everything)\n./scripts/bootstrap.sh\n```\n\nThe bootstrap script will:\n1. Install Xcode Command Line Tools (if needed)\n2. Install Homebrew (if needed)\n3. Install all packages from Brewfile\n4. Install oh-my-zsh and plugins\n5. Create symlinks for all configs\n6. Provide post-installation instructions\n\n## Manual Installation\n\nIf you already have dependencies installed and just want to symlink configs:\n\n```bash\ncd ~/.dotfiles\n./scripts/install.sh\n```\n\nThis is idempotent - safe to run multiple times.\n\n## Post-Installation Steps\n\n### 1. Create Git Local Config\n\n```bash\ncp git/.gitconfig.local.example ~/.gitconfig.local\n```\n\nThen edit `~/.gitconfig.local` with your details:\n```ini\n[user]\n    email = your.email@example.com\n    name = Your Name\n    signingkey = YOUR_GPG_KEY_ID\n```\n\n### 2. Create NPM Config (if needed)\n\n```bash\ncp config/.npmrc.example ~/.npmrc\n```\n\nAdd your auth tokens if publishing packages.\n\n### 3. Set Up SSH Keys\n\n```bash\n# Generate new key\nssh-keygen -t ed25519 -C \"your.email@example.com\"\n\n# Add to GitHub\ncat ~/.ssh/id_ed25519.pub\n# Copy and add to https://github.com/settings/keys\n```\n\n### 4. Verify GPG Signing (Optional)\n\nGPG commit signing is enabled by default. The `gpg-agent` oh-my-zsh plugin handles `GPG_TTY` setup automatically.\n\n```bash\n# Verify your GPG key is available\ngpg --list-secret-keys --keyid-format=long\n\n# Test signing (should prompt for passphrase)\necho \"test\" | gpg --clearsign\n```\n\nIf you don't have a GPG key, you can disable signing in `~/.gitconfig.local`:\n```ini\n[commit]\n    gpgsign = false\n```\n\n### 5. Configure GitHub CLI\n\n```bash\ngh auth login\n```\n\n### 6. Restart Shell\n\n```bash\nsource ~/.zshrc\n# Or restart your terminal\n```\n\n## Repository Structure\n\n```\n.dotfiles/\n├── shell/              # Shell configs (.zshrc, .zshenv, .bashrc, etc.)\n│   └── zsh/            # Modular zsh config (exports, prompt, completions, aliases, local overrides)\n├── git/                # Git config (public + template for private)\n├── config/             # XDG configs\n│   ├── zed/           # Zed editor settings\n│   ├── opencode/      # OpenCode AI agent config\n│   ├── warp/          # Warp terminal config (keybindings, launch configs, themes)\n│   ├── ghostty/       # Ghostty terminal config\n│   ├── gh/            # GitHub CLI config\n│   ├── starship.toml  # Starship prompt config\n│   ├── ssh_config     # SSH config (no private keys)\n│   └── .yarnrc        # Yarn config\n├── scripts/\n│   ├── bootstrap.sh        # Fresh machine setup\n│   ├── install.sh          # Create symlinks\n│   ├── update-brewfile.sh  # Regenerate Brewfile\n│   └── lib/utils.sh        # Shared functions\n├── Brewfile           # Homebrew packages\n└── README.md\n```\n\n## Maintenance\n\n### Update Brewfile\n\nAfter installing new packages with Homebrew:\n\n```bash\n./scripts/update-brewfile.sh\ngit add Brewfile\ngit commit -m \"Update Brewfile\"\n```\n\n### Pull Latest Changes\n\n```bash\ncd ~/.dotfiles\ngit pull\n```\n\nChanges to symlinked files take effect immediately.\n\n### Add New Config\n\n1. Add file to appropriate directory in repo\n2. Update `scripts/install.sh` to create symlink\n3. Commit and push changes\n\n## Customization\n\n### Shell Aliases\n\nEdit `shell/zsh/aliases.zsh`.\n\n### Machine-Specific Zsh Overrides\n\nKeep one-off or private shell tweaks in `shell/zsh/local.zsh`.\n\n```bash\ncp shell/zsh/local.zsh.example shell/zsh/local.zsh\n```\n\nThat file is ignored by git and loaded automatically if present.\n\n### Git Config\n\nPersonal settings go in `~/.gitconfig.local` (not tracked).\nGlobal settings go in `git/.gitconfig` (tracked).\n\n### Environment Variables\n\n- Add zsh session PATH / tooling config to `shell/zsh/exports.zsh`\n- Add zsh-wide minimal environment variables to `shell/.zshenv`\n- Add POSIX login-shell environment variables to `shell/.profile`\n- Add zsh login-shell setup to `shell/.zprofile`\n\n## Sensitive Data\n\nThe following files are excluded from git:\n\n- `~/.gitconfig.local` - User email, name, GPG key\n- `~/.npmrc` - NPM auth tokens\n- `~/.aws/` - AWS credentials\n- `~/.ssh/id_*` - SSH private keys\n- `config/zed/conversations/` - Personal AI chats\n- `config/zed/embeddings/` - Generated data\n\nTemplates are provided in the repo (`.example` files).\n\n## Key Technologies\n\n- **Shell**: zsh with oh-my-zsh (git, zsh-syntax-highlighting, zsh-autosuggestions, gpg-agent)\n- **Prompt**: Starship\n- **Terminal**: Ghostty and Warp\n- **Editor**: Zed\n- **AI Agent**: OpenCode\n- **Package Manager**: Homebrew, pnpm\n- **Version Control**: Git with GPG signing via pinentry-mac\n\n## License\n\nPersonal dotfiles - use at your own discretion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamtzi%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamtzi%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamtzi%2Fdotfiles/lists"}