瀏覽代碼

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 年之前
父節點
當前提交
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

Loading…
取消
儲存