1
0
Fork 0
mirror of https://github.com/pyenv/pyenv.git synced 2025-04-21 12:49:15 +00:00

Merge pull request from scop/shell-detect-improvements

Shell detect improvements
This commit is contained in:
Anton Petrov 2021-03-26 19:11:17 +03:00 committed by GitHub
commit 132d546453
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,7 @@ if [ -z "$shell" ]; then
shell="${shell##-}"
shell="${shell:-$SHELL}"
shell="${shell##*/}"
shell="${shell%%-*}"
fi
root="${0%/*}/.."