Ver a proveniência

Adds sh-shell subcommand to unset RBENV_VERSION

pull/360/head^2
Timothy King há 15 anos
ascendente
cometimento
555472210b
1 ficheiros alterados com 8 adições e 1 eliminações
  1. +8
    -1
      libexec/rbenv-sh-shell

+ 8
- 1
libexec/rbenv-sh-shell Ver ficheiro

@ -12,5 +12,12 @@ version=$1
if [ -d "$HOME/.rbenv/versions/$version" ]; then
echo "export RBENV_VERSION=$version"
else
echo "rbenv: version \`$version' is not installed" >&2
case $version in
default|reset)
echo "unset RBENV_VERSION"
;;
*)
echo "rbenv: version \`$version' is not installed" >&2
exit 1
esac
fi

Carregando…
Cancelar
Guardar