1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-16 07:13:53 -05:00

Merge pull request #1835 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

View File

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