mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
chore(asdf): Change logic for checking version
This commit is contained in:
parent
9f0747e8f8
commit
6ed551d0ad
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
(( ! $+commands[asdf] )) && return
|
(( ! $+commands[asdf] )) && return
|
||||||
|
|
||||||
# TODO(roeniss): 2025-03-31 - remove this warning and related README section after enough grace period.
|
# 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."
|
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
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue