Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
isprogram
/
pyenv
espelhamento de
https://github.com/pyenv/pyenv.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Projects
0
Versões
241
Wiki
Atividade
Ver código fonte
Only shift if an argument is passed.
Fixes
#78
.
pull/360/head^2
Sam Stephenson
15 anos atrás
pai
1ba2ce0cb6
commit
fb6eee26d4
1 arquivos alterados
com
8 adições
e
5 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+8
-5
libexec/rbenv-init
+ 8
- 5
libexec/rbenv-init
Ver arquivo
@ -70,14 +70,17 @@ echo 'rbenv rehash 2>/dev/null'
commands=(`rbenv commands --sh`)
IFS="|"
cat <<EOS
function rbenv () {
command="\$1";
shift;
function rbenv() {
command="\$1"
if [ "\$#" -gt 0 ]; then
shift
fi
case "\$command" in
${commands[*]})
eval \`rbenv "sh-\$command" "\$@"\`;;
*)
command rbenv "\$command" "\$@";;
esac
;
}
;
esac
}
EOS
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar