1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 22:33:52 -05:00

Merge remote-tracking branch 'rbenv/master' into rbenv-20180402

This commit is contained in:
Yamashita, Yuu
2018-04-02 01:46:48 +00:00
12 changed files with 57 additions and 34 deletions

View File

@@ -20,7 +20,7 @@ fi
whence() {
local command="$1"
pyenv-versions --bare | while read version; do
pyenv-versions --bare | while read -r version; do
path="$(pyenv-prefix "$version")/bin/${command}"
if [ -x "$path" ]; then
[ "$print_paths" ] && echo "$path" || echo "$version"