move rbenv to end of zshrc, export RMATE_HOST
This commit is contained in:
parent
ce725d62d3
commit
afdd7048e1
1 changed files with 12 additions and 5 deletions
17
zsh/zshrc
17
zsh/zshrc
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue