Browse Source
Merge pull request #1835 from scop/shell-detect-improvements
Shell detect improvements
pull/1858/head
Anton Petrov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
libexec/pyenv-init
|
|
|
@ -38,6 +38,7 @@ if [ -z "$shell" ]; then |
|
|
|
shell="${shell##-}" |
|
|
|
shell="${shell:-$SHELL}" |
|
|
|
shell="${shell##*/}" |
|
|
|
shell="${shell%%-*}" |
|
|
|
fi |
|
|
|
|
|
|
|
root="${0%/*}/.." |
|
|
|
|