S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Přihlásit se
isprogram
/
pyenv
zrcadlo
https://github.com/pyenv/pyenv.git
Sledovat
1
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Projekty
0
Vydání
181
Wiki
Aktivita
Procházet zdrojové kódy
rbenv-init: do not use basename for $shell
This can be done using bash directly.
pull/487/head^2
Daniel Hahler
před 9 roky
rodič
5b9e4f0584
revize
4ea7d0849b
1 změnil soubory
, kde provedl
2 přidání
a
1 odebrání
Rozdělené zobrazení
Možnosti rozdílového porovnání
Zobrazit statistiky
Stáhněte soubor opravy
Stáhněte rozdílový soubor
+2
-1
libexec/rbenv-init
+ 2
- 1
libexec/rbenv-init
Zobrazit soubor
@ -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%/*}/.."
Zapsat
Náhled
Načítá se…
Zrušit
Uložit