Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
isprogram
/
pyenv
réplica de
https://github.com/pyenv/pyenv.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Projects
0
Lanzamientos
241
Wiki
Actividad
Explorar el Código
Merge pull request
#179
from johnwilliams/master
rbenv-init arguments should be allowed in any order
pull/360/head^2
Sam Stephenson
hace 14 años
padre
5d0a6630b9
f40bc773d2
commit
9ea1f7d53e
Se han
modificado 1 ficheros
con
12 adiciones
y
9 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+12
-9
libexec/rbenv-init
+ 12
- 9
libexec/rbenv-init
Ver fichero
@ -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
Escribir
Vista previa
Cargando…
Cancelar
Guardar