yyuu/pyenv — pull request #278 by kevinburke (2014-11-29 01:47:56+00:00)
Title: Use `command` to run pyenv rehash

In the event that 'eval "$(pyenv init -)"' is called from a function named
pyenv (which I do to get pyenv to load lazily in my shell), evaluating the name
"pyenv" will cause the outer function to run again (causing an infinite loop).

This change makes it clear you want the command named pyenv and not a function
which may exist in the environment.

I updated (and ran) the tests and also verified that this change works locally in my zsh shell.