pyenv/bin/rbenv-versions
Sam Stephenson 0c66f62c17 Style
2011-08-01 16:43:19 -05:00

17 lines
266 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