Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
isprogram
/
pyenv
espelho de
https://github.com/pyenv/pyenv.git
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Projects
0
Lançamentos
241
Wiki
Trabalho
Ver a proveniência
Merge pull request
#179
from johnwilliams/master
rbenv-init arguments should be allowed in any order
pull/360/head^2
Sam Stephenson
há 14 anos
ascendente
5d0a6630b9
f40bc773d2
cometimento
9ea1f7d53e
1 ficheiros alterados
com
12 adições
e
9 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+12
-9
libexec/rbenv-init
+ 12
- 9
libexec/rbenv-init
Ver ficheiro
@ -3,16 +3,19 @@ set -e
[ -n "$RBENV_DEBUG" ] && set -x
print=""
if [ "$1" = "-" ]; then
print=1
shift
fi
no_rehash=""
if [ "$1" = "--no-rehash" ]; then
no_rehash=1
shift
fi
for args in "$@"
do
if [ "$args" = "-" ]; then
print=1
shift
fi
if [ "$args" = "--no-rehash" ]; then
no_rehash=1
shift
fi
done
shell="$1"
if [ -z "$shell" ]; then
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar