Quellcode durchsuchen

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 vor 8 Jahren
Ursprung
Commit
0c1edefe6a
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. +2
    -0
      pyenv.d/rehash/conda.d/default.list

+ 2
- 0
pyenv.d/rehash/conda.d/default.list Datei anzeigen

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

Laden…
Abbrechen
Speichern