Ver código fonte
Merge pull request #1835 from scop/shell-detect-improvements
Shell detect improvements
pull/1858/head
Anton Petrov
5 anos atrás
committed by
GitHub
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com
1 adições e
0 exclusões
-
libexec/pyenv-init
|
|
|
@ -38,6 +38,7 @@ if [ -z "$shell" ]; then |
|
|
|
shell="${shell##-}" |
|
|
|
shell="${shell:-$SHELL}" |
|
|
|
shell="${shell##*/}" |
|
|
|
shell="${shell%%-*}" |
|
|
|
fi |
|
|
|
|
|
|
|
root="${0%/*}/.." |
|
|
|
|