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
#731
from blueyed/init-no-basename-for-shell
rbenv-init: do not use basename for $shell
pull/487/head^2
Mislav Marohnić
hace 10 años
padre
c6cf4e18b8
4ea7d0849b
commit
c43928a8e4
Se han
modificado 1 ficheros
con
2 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-1
libexec/rbenv-init
+ 2
- 1
libexec/rbenv-init
Ver fichero
@ -25,7 +25,8 @@ if [ -z "$shell" ]; then
shell="$(ps c -p "$PPID" -o 'ucomm=' 2>/dev/null || true)"
shell="${shell##-}"
shell="${shell%% *}"
shell="$(basename "${shell:-$SHELL}")"
shell="${shell:-$SHELL}"
shell="${shell##*/}"
fi
root="${0%/*}/.."
Escribir
Vista previa
Cargando…
Cancelar
Guardar