This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
isprogram
/
pyenv
огледало од
https://github.com/pyenv/pyenv.git
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Projects
0
Издања
241
Вики
Activity
Преглед изворни кода
Only shift if an argument is passed.
Fixes
#78
.
pull/360/head^2
Sam Stephenson
пре 15 година
родитељ
1ba2ce0cb6
комит
fb6eee26d4
1 измењених фајлова
са
8 додато
и
5 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Откажи
Сачувај