1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-15 23:03:53 -05:00
Files
pyenv/bin/rbenv-versions
2011-08-01 15:56:52 -05:00

18 lines
278 B
Bash
Executable File

#!/bin/bash
set -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