Skip to content

Instantly share code, notes, and snippets.

@sergeioff
Last active January 16, 2019 13:26
Show Gist options
  • Save sergeioff/8cdb48d3fac3ca60d3f09e66d7a6b3df to your computer and use it in GitHub Desktop.
Save sergeioff/8cdb48d3fac3ca60d3f09e66d7a6b3df to your computer and use it in GitHub Desktop.
OS X post-install script
echo "Enter your name:"
read NAME
echo "Enter your email:"
read EMAIL
# Install xcode console developer tools
xcode-select --install
# Git configuration
git config --global user.name $NAME
git config --global user.email $EMAIL
git config --global credential.helper osxkeychain
# Homebrew installation
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Check if Homebrew installed correctly
brew doctor
# Disable Homebrew analytics
brew analytics off
brew install zsh autojump httpie tree gradle p7zip pstree
# Quick look plugins
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json quicklook-c sv suspicious-package
# Development software
brew cask install java intellij-idea-ce visual-studio-code postman docker pycharm-ce dash sourcetree
# Software
brew cask install appcleaner dropbox google-backup-and-sync google-chrome transmission vlc calibre spotify slack
# Install zsh-syntax-higlighting plugin
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# install oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment