My dotfiles (forked from Mathias’s)
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 old computer
# Backup Atom's community packages installed apm list --installed --bare > ~/dotfiles/backup/atom/package-list.txt # Backup Xcode Keybindings.. todo
SENSITIVE stuff that has to be backup using external hard drive:
cp ~/.3T/robo-3t/1.2.1/robo3t.json /BACKUP/DRIVE/
Instructions for a new computer
1. Install brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. Install git
brew install git
3. Download dotfiles
cd ~ git clone https://github.com/samwize/dotfiles && cd dotfiles
4. Auto setup with dotfiles
Inspect these files first: .bash_prompt, .exports, .aliases, .functions - it's your responsibility!
Once confirm run:
5. Run these too
# Install more brew stuff, cask install apps, and other apps ./brew.sh # Install development apps, tools and setting them up ./setup-dev.sh # Sensible macOS defaults ./.macos
6. Setup Oh-my-zsh
Setup samwize's oh-my-zsh.
git clone git://github.com/samwize/oh-my-zsh.git ~/.oh-my-zsh cd ~ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc chsh -s /bin/zsh
I have a preference for using solarized dark theme. In iTerm, you can change in Preferences > Profiles > Color > Color Presets
7. Other Manual Configurations
git config --global user.name YOUR_NAME git config --global user.email YOUR_EMAIL # Install Atom's packages cd ~/dotfiles/backup/atom/ apm install --packages-file package-list.txt
- Enable drag with 3 fingers under Accessibility > Mouse & Trackpad > Trackpad Options
.osx: Removed changes to: Computer name, Desktop configurations such as icon snap to grid, Notification bar, natural scroll, etc. Prefixed my comments with
Brew.sh: Disable brew install which I don't always use