/dotfiles-201x

dotfiles with homeshick #osx #zsh #brew

Primary LanguageShell

naokie’s dotfiles with homeshick

This repo is mostly for my new OSX.

Setup Start!

Run software update

softwareupdate -i -a

Install Xcode and/or "Command Line Tools"

Go to App Store and install Xcode.

open "http://itunes.apple.com/us/app/xcode/id497799835?ls=1"
sudo xcodebuild -license
xcode-select --install

Install Homebrew and CLI tools

http://brew.sh/

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Install homeshick

https://github.com/andsens/homeshick

git clone git://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick
printf '\nsource "$HOME/.homesick/repos/homeshick/homeshick.sh"' >> $HOME/.bashrc
printf '\nsource "$HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash"' >> $HOME/.bashrc
$HOME/.homesick/repos/homeshick/bin/homeshick clone naokie/dotfiles

Install Homebrew formulae

When setting up a new OSX, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

./brew.sh

Change Default Shell to Zsh

sudo vi /etc/shells

Add this line.

/usr/local/bin/zsh

Change default shell.

chsh -s /usr/local/bin/zsh

Sensible OS X defaults

When setting up a new Mac, you may want to set some sensible OS X defaults:

./.osx

Install Atom settings

cd ~/.atom/
rm -r config.cson
ln -s ~/Dropbox/Apps/Atom/config.cson

Thanks to…