Skip to content

ryantoddgarza/dotfiles

Repository files navigation

Dotfiles

Personal dotfiles for macOS.

Warning: Parts of the installation process will overwrite existing configuration files. You should fork this repository, review the code, and make additions or omissions before proceeding. Use at your own risk!

Installing

  1. If your Mac does not have Git installed, first install the Xcode Command Line Tools.
xcode-select --install
  1. Clone the bare Git repository.
git clone --bare https://github.com/ryantoddgarza/dotfiles.git $HOME/.dotfiles
  1. Checkout and setup the Git repository.

Warning: This command will overwrite existing files with matching filenames. Backup your files before proceeding.

git --git-dir=$HOME/.dotfiles --work-tree=$HOME checkout --force
dotf submodule update --init --recursive
dotf config status.showUntrackedFiles no
  1. Review the following scripts and make additions or omissions.
  • ~/.macos/install-software
  • ~/.macos/set-app-preferences
  • ~/.macos/set-macos-defaults
  1. Run the provided scripts.
cd ~/.macos
./install-software
./set-app-preferences
./set-macos-defaults

Troubleshooting

Could not write domain

If you get the error Could not write domain <domain>; exiting after running set-macos-defaults, you may need to grant your terminal app Full Disk Access: System Preferences > Privacy > Full Disk Access