26 lines
719 B
Bash
26 lines
719 B
Bash
export ZSH=$HOME/.zsh
|
|
|
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
|
|
|
# rbenv
|
|
if which rbenv > /dev/null; then
|
|
export RBENV_ROOT=/usr/local/var/rbenv
|
|
eval "$(rbenv init -)"
|
|
fi
|
|
|
|
# Load all of the config files in ~/oh-my-zsh that end in .zsh
|
|
for config_file ($ZSH/lib/*.zsh) source $config_file
|
|
|
|
# Load and run compinit
|
|
autoload -U compinit
|
|
compinit -i
|
|
|
|
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
|
|
PATH=/usr/local/bin:$PATH
|
|
PATH=/usr/local/bin:/usr/local/sbin:$PATH # Added for more brew executables
|
|
# PATH=/opt/chefdk/bin:/opt/chef/bin:$PATH # Added for more brew executables
|
|
PATH=/opt/chef/bin:/opt/chefdk/bin:$PATH # Added for more brew executables
|
|
|
|
# Editor
|
|
export EDITOR=vim
|