Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
isprogram
/
pyenv
peilaus alkaen
https://github.com/pyenv/pyenv.git
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Projects
0
Julkaisut
181
Wiki
Toiminta
Selaa lähdekoodia
rbenv-init: do not use basename for $shell
This can be done using bash directly.
pull/487/head^2
Daniel Hahler
9 vuotta sitten
vanhempi
5b9e4f0584
commit
4ea7d0849b
1 muutettua tiedostoa
jossa
2 lisäystä
ja
1 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libexec/rbenv-init
+ 2
- 1
libexec/rbenv-init
Näytä tiedosto
@ -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%/*}/.."
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna