First, go through the checklist below to make sure you didn't forget anything before you wipe your hard drive.
mackup backup
?On a sparkling frest installation of macOS:
# App Store
# Login to your App Store with your correct Account you're using for the App Store
# The Xcode Command Line Tools includes `git` and `make` (not available on stock macOS).
softwareupdate --all --install --force
xcode-select --install
## Clone repository
git clone https://github.com/josefglatz/dotfiles ~/.dotfiles && cd ~/.dotfiles
# Generating a new SSH key (set passphrase!!! and add it to your password vault)
ssh-keygen -t rsa -b 4096 -C "$GIT_AUTHOR_EMAIL"
# Adding your SSH key to the SSH-agent
cp -n ./Templates/home/.ssh/config ~/.ssh/config
# follow https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent
# Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended --skip-chsh
# Run `./fresh.sh` to start the installation
# Restore preferences by running `mackup restore`
# Restart your computer to finalize the process
Your Mac is now read to use!
~/.dotfiles_local
Acts as a container for all local dotfiles specific adoptions. It scopes most dotfiles' relevant local files which are not part of the repository.
~/.extra
This file is needed to keep your private informations or credentials which must be not part of any dotfiles repository.
~/.dotfiles_local/bin
This folder is added to $PATH variable. You can put there your custom executable scripts which are available through PATH variable.
~/bin
This folder is added to $PATH variable. You can put there your custom executable scripts which are available through PATH variable. It is added in front of ~/.dotfiles_local/bin
in $PATH variable.
~/.gitconfig_local
This file can be used to add custom global git config which is not part of the dotfiles repo.
~/.functions_local
This file can be used to add custom functions which are loaded in oh-my-zsh's custom folder in script functions.zsh.
plutil
defaults