mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Skip virtualenv aliases as well (yyuu/pyenv-virtualenv#126)
This commit is contained in:
parent
ebd6c1aee3
commit
96bfa1532d
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ for path in "$versions_dir"/*; do
|
|||
if [ -n "$skip_aliases" ] && [ -L "$path" ]; then
|
||||
target="$(realpath "$path")"
|
||||
[ "${target%/*}" != "$versions_dir" ] || continue
|
||||
[ "${target%/*/envs/*}" != "$versions_dir" ] || continue
|
||||
fi
|
||||
print_version "${path##*/}"
|
||||
# virtual environments created by anaconda/miniconda
|
||||
|
|
Loading…
Reference in a new issue