Skip to content
.files, including ~/.osx — sensible hacker defaults for OS X
Shell Vim script
Branch: master
Clone or download
Pull request Compare This branch is 50 commits ahead, 65 commits behind mathiasbynens:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

My dotfiles (forked from Mathias’s)

Dotfiles is great for setting up a new Mac.

All files (excluding those listed in will be copied to your home directory when you run source 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"

2. Install git

brew install git

3. Download dotfiles

cd ~
git clone && 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

# Install development apps, tools and setting them up

# Sensible macOS defaults

6. Setup Oh-my-zsh

Setup samwize's oh-my-zsh.

git clone git:// ~/.oh-my-zsh
cd ~
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh

My zsh uses agnoster theme, which requires Powerline font. In iTerm, go to Preferences > Profiles > Text > change font to a z 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

7. Other Manual Configurations

git config --global YOUR_NAME
git config --global YOUR_EMAIL

# Install Atom's packages
cd ~/dotfiles/backup/atom/
apm install --packages-file package-list.txt

Junda's Changes

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 with JD:
  • .aliases: Added ws for ~/Workspace
  • Disable brew install which I don't always use
You can’t perform that action at this time.