X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/fe17fef03f8c2bb44f0c2dc8f2185db6f33145f4..f11b7c6e10afdaa1a23a1c768dd0d5034bc53964:/runcoms/zshrc diff --git a/runcoms/zshrc b/runcoms/zshrc index ebf6bf1..1c4325e 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -9,6 +9,7 @@ source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/prettify-json.zsh" source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/status.zsh" source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/sync-repos.zsh" source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/check-repos.zsh" +source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/ssh-key-helpers.zsh" ################################################################################ # Load Modules @@ -65,7 +66,6 @@ if [[ -s "/opt/homebrew/bin/brew" ]]; then export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH export FZF_VIM_PATH=/opt/homebrew/opt/fzf . /opt/homebrew/etc/profile.d/z.sh - . /opt/homebrew/opt/asdf/libexec/asdf.sh else # Z (Linux) if [[ -s "/usr/libexec/z.sh" ]]; then @@ -77,16 +77,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