Skip to content

Instantly share code, notes, and snippets.

@jamlfy
Last active February 17, 2017 21:46
Show Gist options
  • Save jamlfy/b867eea3bcbce8f048c358ff71547424 to your computer and use it in GitHub Desktop.
Save jamlfy/b867eea3bcbce8f048c358ff71547424 to your computer and use it in GitHub Desktop.
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# End of lines configured by zsh-newuser-install
source ~/.config/antigen.zsh
. "$(brew --prefix nvm)/nvm.sh"
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
export ANDROID_HOME=/usr/local/opt/android-sdk
export NVM_DIR="$HOME/.nvm"
export PATH="/usr/local/opt/apr/bin:/usr/local/opt/apr-util/bin:$HOME/.gem/bin:$PATH:/usr/local/opt/go/libexec/bin"
antigen use oh-my-zsh
antigen bundle <<EOBUNDLES
# Bundles from the default repo (robbyrussell's oh-my-zsh)
git
heroku
pip
lein
gradle
extract
sublime
lukechilds/zsh-nvm
zsh-users/zsh-history-substring-search
# Syntax highlighting bundle.
zsh-users/zsh-syntax-highlighting
# Fish-like auto suggestions
zsh-users/zsh-autosuggestions
# Extra zsh completions
zsh-users/zsh-completions
EOBUNDLES
antigen theme muse
antigen apply
curl https://cdn.rawgit.com/zsh-users/antigen/v1.4.0/bin/antigen.zsh > ~/.config/antigen.zsh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew tap caskroom/cask
brew tap caskroom/versions
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/php
brew tap homebrew/apache
brew update
brew upgrade
brew cask install java
brew install android-ndk android-sdk mongodb android-sdk mysql kotlin nvm go gradle openssl watchman graphicsmagick phantomjs xcproj cask heroku couchdb python zsh httpd24 exiftool imagemagick curl
brew cask install gimp blender android-studio firefox google-chrome skype franz spotify virtualbox dropbox rescuetime flux sublime-text3 robomongo realm-browser gitkraken iterm2 sequel-pro
# Dev
unset TMPDIR
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
mysql.server start
mysql_secure_installation
# https://getgrav.org/blog/macos-sierra-apache-multiple-php-versions
brew install httpd24 --with-privileged-ports --with-http2
brew install php55 --with-httpd24
brew unlink php55
brew install php56 --with-httpd24
brew unlink php56
brew install php70 --with-httpd24
brew unlink php70
brew install php71 --with-httpd24
npm install -g mocha react-native-cli gulp-cli grunt-cli sails vue-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment