Ivan Pozdeev
ddf952ab2d
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
há 3 anos
Ivan Pozdeev
00f7d6249a
Fix not printing asterisk for current version in Bash 3
há 3 anos
Ville Skyttä
c4e556eded
versions: use associative array to hold current versions
"hyperfine pyenv-versions" before with my bash 4.4:
Time (mean ± σ): 81.7 ms ± 2.2 ms [User: 67.8 ms, System: 15.7 ms]
Range (min … max): 78.3 ms … 87.2 ms 34 runs
After:
Time (mean ± σ): 70.6 ms ± 2.4 ms [User: 55.6 ms, System: 16.9 ms]
Range (min … max): 67.9 ms … 78.9 ms 41 runs
há 3 anos
Ivan Pozdeev
f77c2d7eab
Detect Py2 presence as well
há 4 anos
Paul Bransford
4d762bca7b
fix 'system' python to be present if 'python3' is on path but not 'python'
há 4 anos
Maxime Brunet
2b174ab69f
List versions starting with a dot
há 5 anos
Andrew Rabert
0f596d2504
Revert "Merge pull request #1153 from cmcginty/remove-sbang"
This reverts commit 070e1c859fb2584c3dbe0a6fbe58cbc80938654e, reversing
changes made to 3faeda67bb
.
há 5 anos
Casey McGinty
83e5459cfb
Remove shebang lines from scripts for performance
All scripts in libexec/ (excluding pyenv) are called through pyenv,
therefore the shebang lines are not necessary. On some systems this
provides a measurable increase in performance of the shell prompt.
Related to pyenv/pyenv-virtualenv#259
há 6 anos
Zach Riggle
19e2b9588a
Fix $PWD changes when executing Python
Specifically, this does not play well with PWD=/proc/self/cwd
há 6 anos
Yamashita, Yuu
96bfa1532d
Skip virtualenv aliases as well ( yyuu/pyenv-virtualenv#126 )
há 8 anos
Yamashita, Yuu
3937dc3618
list virtual environments created by anaconda/miniconda as a version in pyenv
há 9 anos
Yamashita Yuu
8e657374a1
Import recent changes from rbenv-versions
há 10 anos
Yamashita Yuu
8ddf8760d5
Import recent changes from rbenv 0.4.0
há 10 anos
Yamashita Yuu
403f4eb7a7
Preserve original IFSs
há 11 anos
Yamashita Yuu
1a6eb80bcd
should not declare IFS in toplevel
há 11 anos
Yamashita Yuu
fca31c4307
import trivial changes from rbenv 0.4.0
há 11 anos
Yamashita Yuu
da06998457
import rbenv-help from rbenv 0.4.0
há 11 anos
Yamashita Yuu
e89ae3a4a9
show all enabled versions (maybe multiple) in `pyenv versions`
há 12 anos
Yamashita Yuu
8187bc84e3
search commands from python version stack.
users can use multiple python versions at once.
há 12 anos
Yamashita Yuu
2457419b4a
created new project.
modified rbenv source for Python and renamed to pyenv.
há 12 anos