2011-10-24 14:14:51 +11:00
|
|
|
export CURRENT_SHELL="zsh"
|
|
|
|
if [ -f "$HOME/.dot-files" ]; then
|
|
|
|
source "$HOME/.dot-files"
|
|
|
|
|
|
|
|
fpath=($DOT_FILES/shells/zsh/completions $fpath)
|
|
|
|
|
|
|
|
# Install and load oh-my-zsh
|
|
|
|
source $DOT_FILES/shells/zsh/oh-my-zsh.zsh
|
|
|
|
|
|
|
|
# Common functionality between Zsh and Bash
|
2011-10-24 14:31:23 +11:00
|
|
|
source $DOT_FILES/shells/common/common.sh
|
2011-10-24 14:14:51 +11:00
|
|
|
|
|
|
|
for file in $(ls -1 $DOT_FILES/shells/zsh/lib/*.zsh); do
|
|
|
|
source $file
|
|
|
|
done
|
|
|
|
|
|
|
|
# Tmuxinator
|
|
|
|
if [[ -s $HOME/.tmuxinator/scripts/tmuxinator ]]; then
|
|
|
|
source $HOME/.tmuxinator/scripts/tmuxinator
|
|
|
|
# alias tmuxinator='rvm default exec tmuxinator'
|
|
|
|
fi
|
|
|
|
|
|
|
|
# rbenv
|
|
|
|
which rbenv &>/dev/null && eval "$(rbenv init -)"
|
|
|
|
else
|
|
|
|
echo 'You need to run `rake install` again.'
|
|
|
|
fi
|