Ver a proveniência
Merge pull request #1835 from scop/shell-detect-improvements
Shell detect improvements
pull/1858/head
Anton Petrov
há 5 anos
committed by
GitHub
ascendente
cometimento
132d546453
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
1 adições e
0 eliminações
-
libexec/pyenv-init
|
|
|
@ -38,6 +38,7 @@ if [ -z "$shell" ]; then |
|
|
|
shell="${shell##-}" |
|
|
|
shell="${shell:-$SHELL}" |
|
|
|
shell="${shell##*/}" |
|
|
|
shell="${shell%%-*}" |
|
|
|
fi |
|
|
|
|
|
|
|
root="${0%/*}/.." |
|
|
|
|