迁移自简书,格式可能未经校对。
!/bin/sh
# homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# iTerm2
brew install Caskroom/cask/iterm2
# zsh
zsh
# .oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# macdown
brew install Caskroom/cask/macdown