summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index fcd8ea8..028a912 100644
--- a/.zshrc
+++ b/.zshrc
@@ -22,7 +22,7 @@ source ${ZDOTDIR:-~}/.antidote/antidote.zsh
antidote load
export ASDF_DIR="$HOME/.asdf"
-. "$ASDF_DIR//asdf.sh"
+[ -f "$ASDF_DIR/asdf.sh" ] && . "$ASDF_DIR/asdf.sh"
# append completions to fpath
fpath=(${ASDF_DIR}/completions $fpath)