This repository contains several dotfiles and configurations that i want to sync accross my machines. It only targets macOS.
- macOS 10.15 or newer
- Working internet connection during installation.
- Don't use this repo directly, you should first fork, review and adjust the code.
- Don't delete the repo after installing. There are several symlinks created into this repo.
- If moving the repo, rerun
symlinks.sh
orinstall.sh
to update the symlinks.
Clone this repository wherever you want, my prefered location is ~/repos/macos-dotfiles
.
git clone git@github.com:Gawetaner/macos-dotfiles.git
Run the install script
cd macos-dotfiles && ./install.sh
Some steps needs to be done manually after installation.
To use a separate git identity on each machine, add a .gitconfig.local
file to your home folder that contains the local configuration. This file is imported by the repo's .gitconfig
.
[user]
name = Dennis Johannisson
email = mail@gawetaner.de
After pulling changes or modifying the files, rerun the install.sh
script.
./install.sh
- Ask for required git configs if
.gitconfog.local
does not exist.