Dotfiles is great for setting up a new Mac.
All files (excluding those listed in bootstrap.sh) will be copied to your home directory when you run source bootstrap.sh. So feel free to add any "dotfiles" to this repository, except your password.
# Backup Atom's community packages installed
apm list --installed --bare > ~/dotfiles/backup/atom/package-list.txt
# Backup Xcode Keybindings.. todoSENSITIVE stuff that has to be backup using external hard drive:
# Example:
cp ~/.3T/robo-3t/1.2.1/robo3t.json /BACKUP/DRIVE/
Time Machine back up and restore can be used. But unreliable with incomplete restoration possible, eg. when Migration Assistant encounter file write error.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"brew install gitcd ~
git clone https://github.com/samwize/dotfiles && cd dotfilesInspect these files first: .bash_prompt, .exports, .aliases, .functions - it's your responsibility!
Once confirmed all good, run:
source bootstrap.sh# Install more brew stuff and apps
./brew.sh
# Install development apps, tools and setting them up
./setup-dev.sh
# Sensible macOS defaults
./.macosSetup samwize's oh-my-zsh.
git clone https://github.com/samwize/oh-my-zsh ~/.oh-my-zsh
cd ~
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zshMy zsh uses agnoster theme, which requires Powerline font. In iTerm, go to Preferences > Profiles > Text > change font to eg "Meslo LG M DZ for Powerline" (download and install).
I have a preference for using solarized dark theme. In iTerm, you can change in Preferences > Profiles > Color > Color Presets
git config --global user.name YOUR_NAME
git config --global user.email YOUR_EMAIL- Enable drag with 3 fingers under Accessibility > Mouse & Trackpad > Trackpad Options
My fork is based on mathiasbynens (the original dotfiles). There are others
.osx: Removed changes to: Computer name, Desktop configurations such as icon snap to grid, Notification bar, natural scroll, etc. Prefixed my comments withJD:.aliases: Added for my productivityBrew.sh: Disable brew install which I don't always use