Skip to content

Instantly share code, notes, and snippets.

@cbednarski
Created October 15, 2013 00:57
Show Gist options
  • Save cbednarski/6984922 to your computer and use it in GitHub Desktop.
Save cbednarski/6984922 to your computer and use it in GitHub Desktop.
zsh config
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="robbyrussell"
plugins=(git)
source $ZSH/oh-my-zsh.sh
export EDITOR=vim
export PROMPT="%{$fg[green]%}%n%{$fg[white]%}@%{$fg[green]%}%m%{$fg[white]%} "$PROMPT
# Java
export JAVA_HOME=`/usr/libexec/java_home -v 1.6`
#export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
# Load brew binaries before loading system
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
# vmware cli tools
export PATH="$PATH:/Applications/VMware Fusion.app/Contents/Library"
# phpenv -- needs to come in before rbenv so rbenv will take precedence
export PATH="$HOME/.phpenv/bin:$PATH"
eval "$(phpenv init - zsh)"
# rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init - zsh)"
# node.js
export PATH=$PATH:/usr/local/share/npm/bin
# bash scripts
export PATH=$PATH:$HOME/code/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment