このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
isprogram
/
pyenv
ミラー元
https://github.com/pyenv/pyenv.git
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プロジェクト
0
リリース
241
Wiki
アクティビティ
ソースを参照
Extract rbenv-shims
pull/360/head^2
Sam Stephenson
15年前
親
69d596f56f
コミット
61830048d5
2個のファイルの変更
、
18行の追加
、
4行の削除
分割表示
差分オプション
統計情報を表示
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
書き込み
プレビュー
読み込み中…
キャンセル
保存