scatterd-dotfiles/zshenv
2014-11-14 13:08:16 -08:00

17 lines
432 B
Bash

# use vim as the visual editor
export VISUAL=vim
export EDITOR=$VISUAL
# ensure dotfiles bin directory is loaded first
export PATH="$HOME/.bin:/usr/local/sbin:$PATH"
# load rbenv if available
if which rbenv &>/dev/null ; then
eval "$(rbenv init - --no-rehash)"
fi
# mkdir .git/safe in the root of repositories you trust
export PATH=".git/safe/../../bin:$PATH"
# Local config
[[ -f ~/.zshenv.local ]] && source ~/.zshenv.local