################################################################################
# Load Functions
################################################################################
-source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/git-info.zsh"
source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/dotenv.zsh"
source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/graphviz.zsh"
source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/short-uptime.zsh"
export PATH=$PATH:$HOME:${GOPATH//://bin:}/bin
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_NDK_HOME:/Applications/calibre.app/Contents/MacOS
-# Editor.
-export EDITOR="nvim"
-export VISUAL="nvim"
-
# Python related variables
export VIRTUAL_ENV_DISABLE_PROMPT=1
export WORKON_HOME=$HOME/.virtualenvs
else
. $(brew --prefix asdf)/libexec/asdf.sh
fi
+
+if [[ -s "~/.asdf/plugins/java/set-java-home.zsh" ]]; then
+ . ~/.asdf/plugins/java/set-java-home.zsh
+fi