# dotfiles

> wrench: .files, including /.macos — sensible hacker defaults for macOS

- Type: agent or tool
- Field: System & Self-hosted
- Repository: https://github.com/mathiasbynens/dotfiles
- GitHub stars: 31523
- Licence: MIT
- Language: Shell
- Last push: 2024-08-05
- Page: https://imutechz.in/agents/dotfiles-mathiasbynens

## What it is
A collection of macOS dotfiles providing sensible shell defaults, aliases, functions, and system preferences. It installs via a bootstrap script that copies configuration files to the home directory, with optional scripts for macOS defaults (.macos) and Homebrew packages (brew.sh). Users can customize PATH via /.path and add private commands via /.extra without forking.

## Features
- bootstrap script for install and update
- git-free install via curl and tar
- /.path for custom PATH entries
- /.extra for private customizations
- .macos script for macOS defaults
- brew.sh for Homebrew formulae

## Best for
- setting up a new macOS machine
- managing shell configuration across machines
- learning macOS defaults and Homebrew setup
- customizing bash/zsh environment

## Pros
- multiple installation methods documented
- supports private customizations without forking
- includes macOS defaults and Homebrew automation
- well-commented with external references

## Cons
- requires code review before use per author warning
- some features depend on brew.sh formulae
- macOS-specific (includes .macos script)

## Install
```
git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && source bootstrap.sh
```

## Usage
```
./.macos
```

Tags: dotfiles, macos, bash, zsh, shell-config, bootstrap, homebrew, defaults
