dotfiles
dotfiles copied to clipboard
My system configuration for macOS, consisting of config dotfiles and shell scripts
dotfiles
This is my system configuration for macOS consisting of a Brewfile, config "dotfiles", and misc shell scripts.
Initial Setup
- Install Homebrew (using instructions on the homepage)
- Run
brew install --cask 1password
- Open 1Password Desktop and login using Emergency Kit QR Code
- Clone this repo:
TARGET_DIR=$HOME/dotfiles; git clone https://github.com/bradymholt/dotfiles.git $TARGET_DIR && cd $TARGET_DIR
- Run setup script:
./setup.sh
Scripts
-
setup.sh
- This idempotent script bootstraps macOS (installs apps and configures preferences), ensures secrets repo is initialized, and symlinks dotfiles -
backup.sh
- Backup dotfiles and secrets repos -
link.sh
- If there are files in $HOME that you would like to be moved to the dotfiles repo, you can run this script and pass in the name of the file that resides in $HOME. This will move the file to the dotfiles directory and create a symlink to it.