From c9f95ea1bbeeed0139fdb8d1325a0b9e768197d5 Mon Sep 17 00:00:00 2001 From: Edward Dorrington Date: Wed, 5 Feb 2014 09:05:08 -0800 Subject: [PATCH] Removed RVM, and modified RBENV init --- .zshrc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.zshrc b/.zshrc index 515b321..dc7c027 100644 --- a/.zshrc +++ b/.zshrc @@ -65,16 +65,11 @@ source $ZSH/oh-my-zsh.sh # Customize to your needs... -# Load RVM into the shell session. -if [[ -s "$HOME/.rvm/scripts/rvm" ]]; then - unsetopt AUTO_NAME_DIRS - source "$HOME/.rvm/scripts/rvm" -fi - unsetopt AUTO_PUSHD export GOPATH=$HOME/src/lang/go export PGHOST=127.0.0.1 export MEMCACHED_SERVERS=localhost +export RBENV_ROOT=/usr/local/var/rbenv export PATH=~/.babel/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/X11/bin:/usr/texbin:/usr/local/share/npm/bin:$HOME/src/lang/go/bin:$HOME/bin:. #bindkey -e @@ -94,3 +89,5 @@ fi # Remove duplicate entries in the PATH typeset -U path +# Initialize rbenv +if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi