Allow for cases where user might've aliased some programs

The $(type -p | head -1) construct expects to always get a path, so need to ignore such aliases with -P

Closes https://github.com/pyenv/pyenv/issues/1662

Ivan Pozdeev authored and committed

Nothing here #32.4 passed

  • Ran for
AMD64
no language set
Git