diff --git a/bin/rbenv-rehash b/bin/rbenv-rehash index 56cb8bd0..33b3fc19 100755 --- a/bin/rbenv-rehash +++ b/bin/rbenv-rehash @@ -2,7 +2,7 @@ set -e -cd "$HOME/.rbenv/shims" +cd "${HOME}/.rbenv/shims" rm * for file in ../versions/*/bin/*; do diff --git a/bin/rbenv-versions b/bin/rbenv-versions index 0a2b5a0b..97f217c2 100755 --- a/bin/rbenv-versions +++ b/bin/rbenv-versions @@ -9,9 +9,9 @@ for path in ~/.rbenv/versions/*; do version="${path##*/}" if [ "$version" == "$RBENV_VERSION" ]; then - echo "* ${version##*/}" + echo "* $version" else - echo " ${version##*/}" + echo " $version" fi fi done