X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/d78367b148c04b4fd4e2fc19f551d18df5cd7375..729a5b29a9d392b2e9dcf6f7a4e221c7eaed68a1:/runcoms/zshrc?ds=sidebyside diff --git a/runcoms/zshrc b/runcoms/zshrc index c598da7..d0bf0c6 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -78,16 +78,11 @@ else . /usr/local/etc/profile.d/z.sh fi fi - - # ASDF (Linux) - if [[ -s "/opt/asdf-vm/asdf.sh" ]]; then - . /opt/asdf-vm/asdf.sh - else - . $HOME/.asdf/asdf.sh - fi fi -# ASDF Java +# ASDF +export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH" + if [[ -s "~/.asdf/plugins/java/set-java-home.zsh" ]]; then . ~/.asdf/plugins/java/set-java-home.zsh fi