mac setup

“小瘦子”传送门。Omyz.


mac setup

ohmyzsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

brew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

pod

更新gem

# 切换源
gem sources -a https://gems.ruby-china.org/
gem sources -r https://rubygems.org/
# 更新
sudo gem update --system
# 安装pod,注意 -n 参数
sudo gem install -n /usr/local/bin cocoapods

完善pod

cd /Users/hunter/.cocoapods/repos
git clone https://github.com/CocoaPods/Specs.git master

then pod install

终端配置

vim

语法加亮:echo "syntax on" >> ~/.vimrc, check /usr/share/vim/vim74/vimrc_example.vim for more

up

你可能感兴趣的:(mac setup)