Enable autocompletion.

Same code as in rbenv-local.