Skip to content

zlliang/dotfiles

Repository files navigation

Dotfiles 🌚

Personal dotfiles and development environment for macOS, managed by chezmoi.

Quick start

  1. Install Xcode Command Line Tools: xcode-select --install

  2. Install Homebrew

  3. Bootstrap everything:

    brew install chezmoi
    chezmoi init --apply https://github.com/zlliang/dotfiles.git

    I use ~/Workspace/github/zlliang/dotfiles as the source directory, so for me:

    chezmoi init -S ~/Workspace/github/zlliang/dotfiles --apply https://github.com/zlliang/dotfiles.git

    This automatically installs Homebrew packages listed below, installs coding agents, and applies configuration for all tools.

  4. Set Fish as default shell:

    echo /opt/homebrew/bin/fish | sudo tee -a /etc/shells
    chsh -s /opt/homebrew/bin/fish
  5. After initialized, just update the latest changes regularly:

    chezmoi update

What's included

Homebrew packages

Coding agents

Configuration

  • Fish: shell config and custom functions (~/.config/fish/)
  • Git: conditional personal/work identity (~/.gitconfig)
  • Ghostty: terminal config (~/.config/ghostty/)
  • Amp / Codex / Claude Code: coding agent configs and global skills

Structure

This is a chezmoi source directory. Files use chezmoi naming conventions (dot_, .tmpl, run_onchange_, etc.) and are applied to ~ via chezmoi apply.

About

Personal dotfiles and development environment for macOS, managed by chezmoi.

Topics

Resources

License

Stars

Watchers

Forks

Contributors