From 6ed551d0ad1ca77b3374d55ec4bac749694fd487 Mon Sep 17 00:00:00 2001 From: Roeniss Moon Date: Wed, 2 Apr 2025 00:35:03 +0900 Subject: [PATCH] chore(asdf): Change logic for checking version --- plugins/asdf/asdf.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/asdf/asdf.plugin.zsh b/plugins/asdf/asdf.plugin.zsh index 438152ed8..c87d69e64 100644 --- a/plugins/asdf/asdf.plugin.zsh +++ b/plugins/asdf/asdf.plugin.zsh @@ -1,7 +1,7 @@ (( ! $+commands[asdf] )) && return # TODO(roeniss): 2025-03-31 - remove this warning and related README section after enough grace period. -if [[ -d "$HOME/.asdf" ]]; then +if ! asdf --version 2>/dev/null | grep -q "asdf version"; then echo "[omz] You have enabled asdf plugin, but your asdf version seems too low. Please upgrade to at least 0.16.0 to use completion. See omz asdf plugin README for more details." fi