Bu web sitesi JavaScript ile daha iyi çalışır.
Ana Sayfa
Keşfet
Yardım
Giriş Yap
isprogram
/
pyenv
şunun yansıması
https://github.com/pyenv/pyenv.git
İzle
1
Yıldızla
0
Çatalla
0
Kod
Konular
0
Projeler
0
Sürümler
181
Wiki
Aktivite
Kaynağa Gözat
rbenv-init: do not use basename for $shell
This can be done using bash directly.
pull/487/head^2
Daniel Hahler
9 yıl önce
ebeveyn
5b9e4f0584
işleme
4ea7d0849b
1 değiştirilmiş dosya
ile
2 ekleme
ve
1 silme
Görünümü Böl
Diff Seçenekleri
İstatistikleri Göster
Yama Dosyasını İndir
Diff Dosyasını İndir
+2
-1
libexec/rbenv-init
+ 2
- 1
libexec/rbenv-init
Dosyayı Görüntüle
@ -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%/*}/.."
Yaz
Önizleme
Yükleniyor…
İptal
Kaydet