使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
isprogram
/
pyenv
镜像自地址
https://github.com/pyenv/pyenv.git
关注
1
点赞
0
派生
0
代码
工单
0
项目
0
版本发布
241
百科
动态
浏览代码
Extract rbenv-shims
pull/360/head^2
Sam Stephenson
15 年前
父节点
69d596f56f
当前提交
61830048d5
共有
2 个文件被更改
,包括
18 次插入
和
4 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-4
libexec/rbenv-exec
+17
-0
libexec/rbenv-shims
+ 1
- 4
libexec/rbenv-exec
查看文件
@ -4,10 +4,7 @@ set -e
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
for command in "${RBENV_ROOT}/shims/"*; do
echo "${command##*/}"
done
exit
exec rbenv shims --short
fi
RBENV_COMMAND="$1"
+ 17
- 0
libexec/rbenv-shims
查看文件
@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -e
[ -n "$RBENV_DEBUG" ] && set -x
# Provide rbenv completions
if [ "$1" = "--complete" ]; then
echo --short
exit
fi
for command in "${RBENV_ROOT}/shims/"*; do
if [ "$1" = "--short" ]; then
echo "${command##*/}"
else
echo "$command"
fi
done | sort
撰写
预览
正在加载...
取消
保存