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.
This commit is contained in:
Shoichi Aizawa 2017-10-03 15:25:43 +09:00
parent 433e2d1f99
commit 0c1edefe6a

View file

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