From 1921dbef18849b59192c00c9873b0359a150a330 Mon Sep 17 00:00:00 2001 From: "Yamashita, Yuu" Date: Tue, 24 May 2016 01:01:41 +0000 Subject: [PATCH] Skip creating shims for conda's system executables, more reliably (#594, #595) --- pyenv.d/rehash/anaconda.bash | 150 +++++++++++------------------------ 1 file changed, 48 insertions(+), 102 deletions(-) diff --git a/pyenv.d/rehash/anaconda.bash b/pyenv.d/rehash/anaconda.bash index dc1472a6..c1f9e98f 100644 --- a/pyenv.d/rehash/anaconda.bash +++ b/pyenv.d/rehash/anaconda.bash @@ -11,111 +11,57 @@ conda_exists() { [ -n "${condas}" ] } -conda_shims() { - ## curl - cat <&2; then + shims[${#shims[*]}]="${shim}" + fi + done + registered_shims="${shims[@]}" } if conda_exists; then