mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 03:23:13 +00:00
d65141c7b5
Conflicts: bin/rbenv libexec/rbenv-shim
15 lines
269 B
Bash
Executable file
15 lines
269 B
Bash
Executable file
#!/usr/bin/env bash -e
|
|
|
|
RBENV_VERSION="$(rbenv-version)"
|
|
|
|
for path in ~/.rbenv/versions/*; do
|
|
if [ -d "$path" ]; then
|
|
version="${path##*/}"
|
|
|
|
if [ "$version" == "$RBENV_VERSION" ]; then
|
|
echo "* $version"
|
|
else
|
|
echo " $version"
|
|
fi
|
|
fi
|
|
done
|