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
Extract rbenv-shims
pull/360/head^2
Sam Stephenson
hace 15 años
padre
69d596f56f
commit
61830048d5
Se han
modificado 2 ficheros
con
18 adiciones
y
4 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-4
libexec/rbenv-exec
+17
-0
libexec/rbenv-shims
+ 1
- 4
libexec/rbenv-exec
Ver fichero
@ -4,10 +4,7 @@ set -e
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
for command in "${RBENV_ROOT}/shims/"*; do
echo "${command##*/}"
done
exit
exec rbenv shims --short
fi
RBENV_COMMAND="$1"
+ 17
- 0
libexec/rbenv-shims
Ver fichero
@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -e
[ -n "$RBENV_DEBUG" ] && set -x
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
echo --short
exit
fi
for command in "${RBENV_ROOT}/shims/"*; do
if [ "$1" = "--short" ]; then
echo "${command##*/}"
else
echo "$command"
fi
done | sort
Escribir
Vista previa
Cargando…
Cancelar
Guardar