dotfiles/shells/zsh/zshrc

29 lines
668 B
Bash
Raw Normal View History

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