Enable autocompletion.

Same code as in rbenv-local.
Merge pull request #4 from badboy/autocompletion-fix

Enable autocompletion.