このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
isprogram
/
pyenv
ミラー元
https://github.com/pyenv/pyenv.git
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プロジェクト
0
リリース
241
Wiki
アクティビティ
ソースを参照
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行の削除
分割表示
差分オプション
統計情報を表示
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
書き込み
プレビュー
読み込み中…
キャンセル
保存