32 lines
755 B
Bash
32 lines
755 B
Bash
export ZSH=$HOME/.zsh
|
|
|
|
fpath=( "$ZSH/zfunctions" $fpath )
|
|
|
|
[[ -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:/usr/local/sbin:$PATH # Added for more brew executables
|
|
# PATH=/opt/chefdk/bin:$PATH # Added for more brew executables
|
|
|
|
# Editor
|
|
export EDITOR=vim
|
|
|
|
# Theme
|
|
autoload -U promptinit; promptinit
|
|
# optionally define some options
|
|
PURE_CMD_MAX_EXEC_TIME=10
|
|
prompt pure
|