Removed RVM, and modified RBENV init
This commit is contained in:
9
.zshrc
9
.zshrc
@@ -65,16 +65,11 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
|
|
||||||
# Customize to your needs...
|
# 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
|
unsetopt AUTO_PUSHD
|
||||||
export GOPATH=$HOME/src/lang/go
|
export GOPATH=$HOME/src/lang/go
|
||||||
export PGHOST=127.0.0.1
|
export PGHOST=127.0.0.1
|
||||||
export MEMCACHED_SERVERS=localhost
|
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:.
|
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
|
#bindkey -e
|
||||||
@@ -94,3 +89,5 @@ fi
|
|||||||
# Remove duplicate entries in the PATH
|
# Remove duplicate entries in the PATH
|
||||||
typeset -U path
|
typeset -U path
|
||||||
|
|
||||||
|
# Initialize rbenv
|
||||||
|
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user