Go with paren-style function definition

This commit is contained in:
Sam Stephenson 2011-12-24 17:49:22 -05:00
parent 802d70568c
commit 288c6b3f09

View file

@ -74,7 +74,7 @@ echo 'rbenv rehash 2>/dev/null'
commands=(`rbenv commands --sh`) commands=(`rbenv commands --sh`)
IFS="|" IFS="|"
cat <<EOS cat <<EOS
function rbenv { rbenv() {
command="\$1" command="\$1"
if [ "\$#" -gt 0 ]; then if [ "\$#" -gt 0 ]; then
shift shift