move rbenv to end of zshrc, export RMATE_HOST

This commit is contained in:
Sami Samhuri 2011-12-14 22:00:26 -08:00
parent ce725d62d3
commit afdd7048e1

View file

@ -74,10 +74,11 @@ else
export VISUAL=vi export VISUAL=vi
fi fi
if command_exists rbenv; then if command_exists rmate; then
eval "$(rbenv init -)" export RMATE_HOST="h.samhuri.net"
fi fi
# 2. Limits # 2. Limits
# ========= # =========
# limit coredumpsize 30m # limit core dumps to 30mb # limit coredumpsize 30m # limit core dumps to 30mb
@ -102,9 +103,7 @@ setopt pushdignoredups # don't push dups on stack
setopt pushdminus # pushd -N goes to Nth dir in stack setopt pushdminus # pushd -N goes to Nth dir in stack
export DIRSTACKSIZE=8 export DIRSTACKSIZE=8
# need to find out the difference between these two, just the export? setopt autonamedirs # % export h=/home/sjs; cd ~h; pwd => /home/sjs
setopt autonamedirs # % export h=/home/sjs; cd ~h; pwd
# => /home/sjs
setopt cdablevars # blah=~/media/movies; cd blah; pwd => ~/media/movies setopt cdablevars # blah=~/media/movies; cd blah; pwd => ~/media/movies
# 3.3. Shell Completion # 3.3. Shell Completion
@ -391,3 +390,11 @@ if command_exists keychain; then
source $KEYCHAINFILE >/dev/null source $KEYCHAINFILE >/dev/null
fi fi
fi fi
# 11. rbenv
# =========
if command_exists rbenv; then
eval "$(rbenv init -)"
fi