Dotfiles for configuring a developer environment on Macs (including M* arch) with ZSH and Homebrew.
- MacOS
git clone https://github.com/robb-romans/dotfiles.git ~/dotfiles
cd ~/dotfiles
./setup
This will install all required dotfiles in your home directory as symlinks. Everything is then
configured via modifying files in ~/dotfiles
.
Warning: the setup script is not idempotent.
The Brewfile
installs all the Homebrew formulae, Homebrew casks, and Mac App Store applications.
Update the Brewfile to reflect changes in your installation:
brew bundle dump --file tmp && mv tmp Brewfile
Mackup is pre-configured to use an existing Backup
folder in
Google Drive.
# Restore your files
mackup restore
Repository organization:
setup
- setup script to install or update the dotfiles on your systemBrewfile
- a list of software to install via Homebrew into /opt/homebrew (ARM) or /usr/localbin/*
- any executable scripts in this directory get added to your$PATH
config/*.zsh
- configuration files for ZSH; they are all sourced automatically into any new shellfunctions/*
- zsh functions and autocomplete completion definitionssymlinks/*
- any files ending in*.symlink
get linked by the./setup
script into your home directory with the suffix removed (e.g.gitignore.symlink
becomes~/.gitignore
)
Use the ~/.localrc
file to export sensitive variables such as access tokens in Zsh. This file is
backed up and restored by Mackup.
MIT License. See LICENSE
.
The following repositories served as inspiration for this repository: