cleaning up some oh-my-zsh plugins (per $OSTYPE)

This commit is contained in:
James Walker 2014-04-01 22:01:29 -04:00
parent f93f3f561c
commit d04096238e

View File

@ -19,14 +19,29 @@ export ZSH_CUSTOM=$HOME/.zsh/custom
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(extract cask tmux tmuxinator git github git-flow svn ruby gem rbenv rails bundler heroku pip django fabric osx brew deb ssh-agent bower npm nvm golang drush composer symfony2 vagrant knife aws) plugins=(extract cask tmux tmuxinator git github git-flow ruby gem rbenv rails bundler heroku ssh-agent bower npm nvm golang drush composer symfony2 vagrant knife)
# Python/ virtualenv # Python/ virtualenv
if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
export WORKON_HOME=$HOME/.virtualenvs export WORKON_HOME=$HOME/.virtualenvs
plugins=($plugins virtualenvwrapper) plugins=($plugins virtualenvwrapper pip django fabric)
fi fi
# AWS CLI
if [ -f /usr/local/bin/aws_zsh_completer.sh ]; then
plugins=($plugins aws)
fi
# Platform specific settings
case "$OSTYPE" in
darwin*)
plugins=($plugins brew brew-cask osx)
;;
linux*)
plugins=($plugins deb)
;;
esac
# OH MY ZSH! # OH MY ZSH!
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh