本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
isprogram
/
pyenv
镜像来自
https://github.com/pyenv/pyenv.git
關注
1
收藏
0
複製
0
程式碼
問題
0
Projects
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 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
取消
儲存