momo-lab / xxenv-latest

This **env(pyenv, rbenv, nodenv, goenv, phpenv, luaenv) plugin replaces the version specified in the argument with the latest version.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

latest local should skip python virtualenvs

Toilal opened this issue · comments

toilal@toilal-ubuntu:~$ pyenv latest local 3.7
Latest version is '3.7.3/envs/3.7.3-nodeenv'
(3.7.3/envs/3.7.3-nodeenv) toilal@toilal-ubuntu:~$

I would expect to select the raw 3.7.3, not a virtualenv.

toilal@toilal-ubuntu:~$ pyenv latest local 3.7.3
Latest version is '3.7.3'
toilal@toilal-ubuntu:~$

Fix #5 . Thanks!