el capitan クリーンインストール後メモ

Dock関連
defaults write com.apple.Dock autohide-delay -float 0 && killall Dock
defaults write -g NSWindowResizeTime -float 0.005 && killall Dock
defaults write com.apple.dock expose-animation-duration -float 0.05 && killall Dock

Homebrew関連
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
brew install caskroom/cask/brew-cask
brew tap sanemat/font
brew install ricty
cp -f /usr/local/Cellar/ricty/3.2.4/share/fonts/Ricty*.ttf ~/Library/Fonts/
fc-cache -vf

zsh関連
brew install zsh –disable-etcdir
brew install zsh-completions
dscl localhost -read Local/Default/Users/$USER UserShell
sudo sh -c “echo ‘/usr/local/bin/zsh’ >> /etc/shells”
cat /etc/shells
chsh -s /usr/local/bin/zsh

https://gist.github.com/mollifier/4979906
.zshrc追記

# 補完
# for zsh-completions
fpath=(/usr/local/share/zsh-completions $fpath)
# 補完機能を有効にする
autoload -Uz compinit
compinit -u

.zshenv作成

export PATH=/usr/local/bin:$PATH

brew instsall zsh-completions

.zshrcに追記
fpath=(/path/to/homebrew/share/zsh-completions $fpath)
autoload -U compinit
compinit -u

ビルド
rm -f ~/.zcompdump; compinit

 

curl -L http://install.ohmyz.sh | sh