소스 검색
Merge pull request #1835 from scop/shell-detect-improvements
Shell detect improvements
pull/1858/head
Anton Petrov
5 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
1개의 추가작업 그리고
0개의 파일을 삭제
-
libexec/pyenv-init
|
|
|
@ -38,6 +38,7 @@ if [ -z "$shell" ]; then |
|
|
|
shell="${shell##-}" |
|
|
|
shell="${shell:-$SHELL}" |
|
|
|
shell="${shell##*/}" |
|
|
|
shell="${shell%%-*}" |
|
|
|
fi |
|
|
|
|
|
|
|
root="${0%/*}/.." |
|
|
|
|