소스 검색

feat(init): strip -<suffix> when autodetecting shell

For example bash-5.1, bash-static.
pull/1835/head
Ville Skyttä 5 년 전
부모
커밋
61d702405d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      libexec/pyenv-init

+ 1
- 0
libexec/pyenv-init 파일 보기

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

불러오는 중...
취소
저장