使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
isprogram
/
pyenv
镜像自地址
https://github.com/pyenv/pyenv.git
关注
1
点赞
0
派生
0
代码
工单
0
项目
0
版本发布
241
百科
动态
浏览代码
Merge pull request
#179
from johnwilliams/master
rbenv-init arguments should be allowed in any order
pull/360/head^2
Sam Stephenson
14 年前
父节点
5d0a6630b9
f40bc773d2
当前提交
9ea1f7d53e
共有
1 个文件被更改
,包括
12 次插入
和
9 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+12
-9
libexec/rbenv-init
+ 12
- 9
libexec/rbenv-init
查看文件
@ -3,16 +3,19 @@ set -e
[ -n "$RBENV_DEBUG" ] && set -x
print=""
if [ "$1" = "-" ]; then
print=1
shift
fi
no_rehash=""
if [ "$1" = "--no-rehash" ]; then
no_rehash=1
shift
fi
for args in "$@"
do
if [ "$args" = "-" ]; then
print=1
shift
fi
if [ "$args" = "--no-rehash" ]; then
no_rehash=1
shift
fi
done
shell="$1"
if [ -z "$shell" ]; then
撰写
预览
正在加载...
取消
保存