浏览代码

Strip -<suffix> when autodetecting shell (#377)

For example bash-5.1, bash-static.
pull/447/head v1.2.0
Ville Skyttä 1年前
提交者 GitHub
父节点
当前提交
d5f2878a97
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      bin/pyenv-virtualenv-init

+ 1
- 0
bin/pyenv-virtualenv-init 查看文件

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

正在加载...
取消
保存