We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b96c15f + b4fba60 commit 1b4af83Copy full SHA for 1b4af83
pyenv-mode.el
@@ -54,8 +54,9 @@
54
55
(defun pyenv-mode-versions ()
56
"List installed python versions."
57
- (let ((versions (shell-command-to-string "pyenv versions --bare")))
58
- (cons "system" (split-string versions))))
+ (let ((versions (concat (shell-command-to-string "pyenv versions --bare")
+ (shell-command-to-string "pyenv virtualenvs --bare"))))
59
+ (delete-dups (cons "system" (split-string versions)))))
60
61
(defun pyenv-mode-read-version ()
62
"Read virtual environment from user input."
0 commit comments