2014-07-29 02:24:29 -07:00
|
|
|
# Source Prezto.
|
|
|
|
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
2014-09-08 09:11:38 -07:00
|
|
|
source ~/.zsh/preztorc
|
|
|
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
2015-01-16 12:24:00 -08:00
|
|
|
else
|
|
|
|
echo "Prezto isn't installed! Run ~/.dotfiles/install.sh"
|
2015-01-20 00:00:13 -08:00
|
|
|
exit 1
|
2013-08-04 02:04:22 -07:00
|
|
|
fi
|
2013-03-21 19:23:20 -07:00
|
|
|
|
2015-01-20 00:00:13 -08:00
|
|
|
source ~/.zsh/aliases
|
|
|
|
|
2013-03-08 21:18:10 -08:00
|
|
|
# Source component rcfiles
|
2014-09-20 13:38:40 -07:00
|
|
|
if [[ -z "$EMACS" ]]; then
|
|
|
|
source ~/.zsh/config
|
|
|
|
is-callable 'fasd' && eval "$(fasd --init auto)"
|
|
|
|
fi
|
|
|
|
|
2015-01-21 16:14:19 -08:00
|
|
|
if [ -d ~/.rbenv ]; then
|
2015-01-20 00:00:13 -08:00
|
|
|
export PATH=~/.rbenv/bin:$PATH
|
2014-12-13 16:33:21 -08:00
|
|
|
eval "$(rbenv init - --no-rehash)"
|
|
|
|
fi
|
2015-01-20 00:00:13 -08:00
|
|
|
|
2015-01-21 16:14:19 -08:00
|
|
|
if [ -d ~/.pyenv ]; then
|
2015-01-20 00:00:13 -08:00
|
|
|
export PATH=~/.pyenv/bin:~/.pyenv/shims:$PATH
|
2014-09-20 13:38:40 -07:00
|
|
|
eval "$(pyenv init - --no-rehash)"
|
|
|
|
fi
|
2015-05-06 20:06:38 -07:00
|
|
|
|
|
|
|
export ANDROID_HOME=/usr/local/opt/android-sdk
|
|
|
|
export PATH=$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$PATH
|