This commit is contained in:
Roeniss Moon 2025-04-14 21:34:48 +09:00 committed by GitHub
commit 31d4c4ddc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -34,6 +34,11 @@ asdf set nodejs latest
asdf set -u nodejs 16.5.0
```
## Backward Compatibility
`asdf` has significantly changed since 0.16.0. The current implementation doesnt align with older versions. **If you're using 0.15.0 or older version, please follow upgrade guide in official page**: https://asdf-vm.com/guide/upgrading-to-v0-16.html.
## Maintainer
- [@RobLoach](https://github.com/RobLoach)

View file

@ -1,5 +1,10 @@
(( ! $+commands[asdf] )) && return
# TODO(roeniss): 2025-03-31 - remove this warning and related README section after enough grace period.
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
export ASDF_DATA_DIR="${ASDF_DATA_DIR:-$HOME/.asdf}"
path=("$ASDF_DATA_DIR/shims" $path)