Personal configuration files, managed via symlinks.
| File / Directory | Symlink |
|---|---|
zsh/.zshrc | ~/.zshrc |
zsh/.zshrc.personal.example | ~/.zshrc.personal (copy & customize, not symlinked) |
zsh/.zshrc.work.example | ~/.zshrc.work (copy & customize, not symlinked) |
git/.gitconfig | ~/.gitconfig |
git/.gitignore_global | ~/.gitignore_global |
git/hooks/pre-push | .git/hooks/pre-push (shows diff summary before push) |
brew/Brewfile | common packages — run brew bundle to install |
brew/Brewfile.work.example | ~/.Brewfile.work (copy & customize, not symlinked) |
brew/Brewfile.personal.example | ~/.Brewfile.personal (copy & customize, not symlinked) |
npm/packages | global npm packages — installed by setup.sh |
setup.sh | one-shot setup script for new machines |
ghostty/config | ~/Library/Application Support/com.mitchellh.ghostty/config |
sublime/Preferences.sublime-settings | ~/Library/Application Support/Sublime Text/Packages/User/Preferences.sublime-settings |
vscode/settings.json | ~/Library/Application Support/Code/User/settings.json |
vscode/default_dark.icns | /Applications/Visual Studio Code.app/Contents/Resources/Code.icns |
cursor/rules/ | ~/.cursor/rules |
claude/statusline.sh | ~/.claude/statusline.sh |
macos/defaults.sh | macOS system defaults — run manually after fresh install |
macos/cleanup.sh | macOS cleanup of known-defunct launch agents / login items — safe to re-run |
Clone the repo and run the setup script:
git clone git@github.com:mjnchen/dotfiles.git ~/Projects/personal/dotfiles
cd~/Projects/personal/dotfiles
# Copy and customize machine-specific files first
cp brew/Brewfile.personal.example ~/.Brewfile.personal # or Brewfile.work.example
cp zsh/.zshrc.personal.example ~/.zshrc.personal # then customize# Run setup
./setup.shThe statusline script is symlinked by setup.sh, but you also need to add the following to ~/.claude/settings.json manually:
"statusLine": {
"type": "command",
"command": "~/.claude/statusline.sh"
}cp $(pwd)/vscode/default_dark.icns "/Applications/Visual Studio Code.app/Contents/Resources/Code.icns"
touch "/Applications/Visual Studio Code.app"
sudo rm -rf /Library/Caches/com.apple.iconservices.store
killall Dock