mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
chore(asdf): Add warning for incompatible version users
This commit is contained in:
parent
f81259fb34
commit
9f0747e8f8
2 changed files with 10 additions and 0 deletions
|
|
@ -1,5 +1,10 @@
|
|||
(( ! $+commands[asdf] )) && return
|
||||
|
||||
# TODO(roeniss): 2025-03-31 - remove this warning and related README section after enough grace period.
|
||||
if [[ -d "$HOME/.asdf" ]]; 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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue