mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-29 00:02:56 -05:00
Merge pull request #1835 from scop/shell-detect-improvements
Shell detect improvements
This commit is contained in:
commit
132d546453
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ if [ -z "$shell" ]; then
|
|||
shell="${shell##-}"
|
||||
shell="${shell:-$SHELL}"
|
||||
shell="${shell##*/}"
|
||||
shell="${shell%%-*}"
|
||||
fi
|
||||
|
||||
root="${0%/*}/.."
|
||||
|
|
Loading…
Reference in a new issue