このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
isprogram
/
pyenv
ミラー元
https://github.com/pyenv/pyenv.git
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プロジェクト
0
リリース
241
Wiki
アクティビティ
ソースを参照
Only shift if an argument is passed.
Fixes
#78
.
pull/360/head^2
Sam Stephenson
15年前
親
1ba2ce0cb6
コミット
fb6eee26d4
1個のファイルの変更
、
8行の追加
、
5行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+8
-5
libexec/rbenv-init
+ 8
- 5
libexec/rbenv-init
ファイルの表示
@ -70,14 +70,17 @@ echo 'rbenv rehash 2>/dev/null'
commands=(`rbenv commands --sh`)
IFS="|"
cat <<EOS
function rbenv () {
command="\$1";
shift;
function rbenv() {
command="\$1"
if [ "\$#" -gt 0 ]; then
shift
fi
case "\$command" in
${commands[*]})
eval \`rbenv "sh-\$command" "\$@"\`;;
*)
command rbenv "\$command" "\$@";;
esac
;
}
;
esac
}
EOS
書き込み
プレビュー
読み込み中…
キャンセル
保存