From b64c445b61c0284120fae6d4019758754aef5a83 Mon Sep 17 00:00:00 2001 From: Shoichi Aizawa Date: Fri, 26 Jan 2018 13:29:48 +0900 Subject: [PATCH] Do not create `clear` shim when Anaconda is installed Add `clear` to the Anaconda's default blacklist in order to prevent pyenv from creating the shim script for it. The `clear` command executable began included from Anaconda 5.0.0 onwards, and this executable now conceals that of the user's base system - this hinders the user from running the `clear` command with the `command not found` error output if a user installs and selects one or more Python version(s) other than Anaconda 5.x.x. Adding this one-liner to the blacklist allows the user to use the `clear` command even when Anaconda 5.x.x is not selected by pyenv. --- pyenv.d/rehash/conda.d/default.list | 1 + 1 file changed, 1 insertion(+) diff --git a/pyenv.d/rehash/conda.d/default.list b/pyenv.d/rehash/conda.d/default.list index 8f863faf..ed44d9fb 100644 --- a/pyenv.d/rehash/conda.d/default.list +++ b/pyenv.d/rehash/conda.d/default.list @@ -1,4 +1,5 @@ bunzip2 +clear # curl curl curl-config