Skip to content

Instantly share code, notes, and snippets.

@himanshu4141
Last active June 7, 2018 17:59
Show Gist options
  • Select an option

  • Save himanshu4141/b5fbbc35f20f6bc22c128b88dbbbe929 to your computer and use it in GitHub Desktop.

Select an option

Save himanshu4141/b5fbbc35f20f6bc22c128b88dbbbe929 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# Setting up my mac for development.
#
#Change default screenshots directory
mkdir ~/Desktop/screenshots
defaults write com.apple.screencapture location ~/Desktop/screenshots && killall SystemUIServer
#install brew and brew cask
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update && brew upgrade
brew tap caskroom/cask
# iTerm2
brew cask install --appdir='/Applications' iterm2
#use oh my zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
brew install zsh-completions
brew install tmux
# git and source setup
brew cask install git
source ~/.zshrc
git config --global user.name "Himanshu Yadav"
git config --global user.email "himanshu4141@gmail.com"
git config --global credential.helper osxkeychain
brew cask install --appdir='/Applications' sourcetree
# Java / Scala
brew tap caskroom/versions
brew cask install java
brew install scala
brew install sbt
brew install giter8
brew cask install intellij-idea
#Docker & virtualbox
brew cask install virtualbox
brew install docker
brew install docker-compose
brew install docker-machine
#sublime
brew cask install sublime-text
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
# Other
brew cask install google-chrome
brew cask install screenhero
brew cask install joinme
brew cask install 1password
brew cask install the-unarchiver
brew cask install slack
#https://asciinema.org/
brew install asciinema
# Utilities I use
#brew cask install steermouse
#brew cask install totalspaces
#xcode - No cask for it :(
xcode-select --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment