Kaynağa Gözat
Merge pull request #1835 from scop/shell-detect-improvements
Shell detect improvements
pull/1858/head
Anton Petrov
5 yıl önce
işlemeyi yapan:
GitHub
ebeveyn
işleme
132d546453
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
1 ekleme ve
0 silme
-
libexec/pyenv-init
|
|
|
@ -38,6 +38,7 @@ if [ -z "$shell" ]; then |
|
|
|
shell="${shell##-}" |
|
|
|
shell="${shell:-$SHELL}" |
|
|
|
shell="${shell##*/}" |
|
|
|
shell="${shell%%-*}" |
|
|
|
fi |
|
|
|
|
|
|
|
root="${0%/*}/.." |
|
|
|
|