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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.git_template/hooks
backup/atom
init
.aliases
.bash_profile
.bash_prompt
.bashrc
.curlrc
.editorconfig
.exports
.functions
.gdbinit
.gitattributes
.gitconfig
.gitignore
.gvimrc
.hgignore
.hushlogin
.inputrc
.macos
.osx
.screenrc
.vimrc
.wgetrc
LICENSE-MIT.txt
README.md
bootstrap.sh
brew.sh
setup-dev.sh

README.md

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:

source bootstrap.sh

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

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 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

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
  • Brew.sh: Disable brew install which I don't always use
You can’t perform that action at this time.