2010-06-30 14:54:06 +10:00
|
|
|
export CURRENT_SHELL="zsh"
|
2010-06-30 18:01:31 +10:00
|
|
|
export DOT_FILES=$(dirname $(dirname $(readlink $HOME/.zshrc)))
|
2010-06-25 17:02:29 +10:00
|
|
|
|
2010-06-27 01:12:01 +10:00
|
|
|
# Install and load oh-my-zsh
|
2010-06-29 22:20:19 +10:00
|
|
|
source $DOT_FILES/zsh/oh-my-zsh.zsh
|
2010-06-27 01:12:01 +10:00
|
|
|
|
2010-06-30 14:54:06 +10:00
|
|
|
# Common functionality between Zsh and Bash
|
|
|
|
source $DOT_FILES/shell/common.sh
|
2010-06-27 01:12:01 +10:00
|
|
|
|
2011-02-18 12:47:15 +11:00
|
|
|
# Completion
|
2010-06-29 22:20:19 +10:00
|
|
|
source $DOT_FILES/zsh/completions.zsh
|
2010-06-29 21:40:15 +10:00
|
|
|
|
2010-06-29 21:41:45 +10:00
|
|
|
# Rake completion
|
2010-06-29 22:20:19 +10:00
|
|
|
source $DOT_FILES/zsh/rake_completion.zsh
|
2010-06-29 21:41:45 +10:00
|
|
|
|
2010-06-28 09:41:56 +10:00
|
|
|
# RVM
|
2011-02-18 12:47:15 +11:00
|
|
|
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
|
2011-02-21 15:55:16 +11:00
|
|
|
rvm default
|
|
|
|
|