mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
Clarify instructions when <version> of a <shim_name> is missing.
This commit is contained in:
parent
12aae35330
commit
c9014666e2
10
lib/utils.sh
10
lib/utils.sh
@ -711,8 +711,14 @@ with_shim_executable() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
(
|
(
|
||||||
echo "asdf: No version set for command ${shim_name}"
|
local version
|
||||||
echo "you might want to add one of the following in your .tool-versions file:"
|
version=$(get_preset_version_for "$shim_name")
|
||||||
|
echo "asdf: No version ${version} installed for command ${shim_name}"
|
||||||
|
echo "Please install the missing version by running"
|
||||||
|
echo ""
|
||||||
|
echo "asdf install ${shim_name} ${version}"
|
||||||
|
echo ""
|
||||||
|
echo "or add one of the following in your .tool-versions file:"
|
||||||
echo ""
|
echo ""
|
||||||
shim_plugin_versions "${shim_name}"
|
shim_plugin_versions "${shim_name}"
|
||||||
) >&2
|
) >&2
|
||||||
|
Loading…
Reference in New Issue
Block a user