このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
isprogram
/
pyenv
ミラー元
https://github.com/pyenv/pyenv.git
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プロジェクト
0
リリース
181
Wiki
アクティビティ
ソースを参照
rbenv-init: do not use basename for $shell
This can be done using bash directly.
pull/487/head^2
Daniel Hahler
9年前
親
5b9e4f0584
コミット
4ea7d0849b
1個のファイルの変更
、
2行の追加
、
1行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+2
-1
libexec/rbenv-init
+ 2
- 1
libexec/rbenv-init
ファイルの表示
@ -25,7 +25,8 @@ if [ -z "$shell" ]; then
shell="$(ps c -p "$PPID" -o 'ucomm=' 2>/dev/null || true)"
shell="${shell##-}"
shell="${shell%% *}"
shell="$(basename "${shell:-$SHELL}")"
shell="${shell:-$SHELL}"
shell="${shell##*/}"
fi
root="${0%/*}/.."
書き込み
プレビュー
読み込み中…
キャンセル
保存