This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
isprogram
/
pyenv
огледало од
https://github.com/pyenv/pyenv.git
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Projects
0
Издања
241
Вики
Activity
Преглед изворни кода
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…
Откажи
Сачувај