mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 22:33:52 -05:00
Merge pull request #1311 from scop/shell-detect-improvements
Shell detect improvements
This commit is contained in:
@@ -38,6 +38,7 @@ if [ -z "$shell" ]; then
|
||||
shell="${shell##-}"
|
||||
shell="${shell:-$SHELL}"
|
||||
shell="${shell##*/}"
|
||||
shell="${shell%%-*}"
|
||||
fi
|
||||
|
||||
root="${0%/*}/.."
|
||||
|
||||
Reference in New Issue
Block a user