List local asdf versions in prompt
This function looks for a .tool-versions
file, and if one exists, it builds a list of the versions as a string. If the working directory is your home directory, it returns nothing.
I use this as part of my ZSH prompt: