Before doing anything, make sure you know what are you doing!
Before doing anything, make sure you know what are you doing!
Before doing anything, make sure you know what are you doing!
Settings applied by this repository are very personal and definitely not for everyone. I suggest to create your own set of dotfiles based on this repo.
If you are NOT Ernest Chiang, please fork it before doing anything, then modify it, then use it.
If you are Ernest Chiang, please follow it step by step.
- Make sure the macOS software is up to date:
sudo softwareupdate -i -a --restart
- Install Apple Xcode Command Line Tools:
xcode-select --install
- Install brew and brew install:
It may require enter user password couple times in this step.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/dwchiang/dotfiles/master/scripts/setup-brew.sh)"
- Setup SSH.
Setup SSH and place personal keys at a right place for git clone on next step.
- Clone this repo:
Clone it for future easier maintainance.
git clone git@github.com:dwchiang/dotfiles.git ~/.dotfiles
- Init & Setup macOS:
Init by installing Oh My Zsh, and setup macOS defaults.
source ~/.dotfiles/scripts/init-macos.sh
source ~/.dotfiles/scripts/setup-macos.sh
- Setup symlinks:
Create symlinks for dotfiles (e.g. .zshrc
, .gitconfig
, etc).
Edit your own .gitconfig.local
which can be duplicated from .gitconfig.local.example
.
source ~/.dotfiles/scripts/setup-symlinks.sh
# Launch it and back up your files
mackup backup
# Launch it and restore your files
mackup restore
- pawelgrzybek's dotfiles (https://github.com/pawelgrzybek/dotfiles)
- Mathias’s dotfiles (https://github.com/mathiasbynens/dotfiles)
- holman does dotfiles
- Paul Irish's dotfiles (https://github.com/paulirish/dotfiles)
- (中文) Amo Wu's dotfiles (https://github.com/amowu/dotfiles)
- zero.sh: Radically simple personal bootstrapping tool for macOS.
- apply-user-defaults is a small utility to set macOS user defaults declaratively from a YAML file.
- Homebrew Bundle