Просмотр исходного кода

Do not create `tput` shim when Anaconda is selected

Add `tput` to the Anaconda's default blacklist in order to prevent pyenv
from creating the shim script for it.

Anaconda 5.0.0 contains some executables which are part of the base
system. Many of these executables did not exist in the last major
version of Anaconda (`4.4.0`), and the existence of pyenv's shim
scripts for these executables in `5.0.0` can cause to conceal those
executables in the user's base system; for the details, please see the
discussion with @yyuu at #992.

This commit resolves a coloured output error when running a terminal
command which uses `tput`. This error occurs when multiple Python
versions are installed alongside `anaconda2-5.0.0` or `anaconda3-5.0.0`
and neither of those two Anaconda versions is selected by pyenv.
pull/1001/head
Shoichi Aizawa 8 лет назад
Родитель
Сommit
0c1edefe6a
1 измененных файлов: 2 добавлений и 0 удалений
  1. +2
    -0
      pyenv.d/rehash/conda.d/default.list

+ 2
- 0
pyenv.d/rehash/conda.d/default.list Просмотреть файл

@ -27,6 +27,8 @@ xml2-config
# libxml2-utils
xmlcatalog
xmllint
# ncurses
tput
# openssl
openssl
# qtchooser

Загрузка…
Отмена
Сохранить