From 93c6927f1d2fffe882737cc49b8bff99a658792e Mon Sep 17 00:00:00 2001 From: "Eric N. Vander Weele" Date: Thu, 19 May 2022 11:29:42 -0400 Subject: [PATCH] Deduplicate shims in $PATH for the fish shell during initialization When a fish login shell is invoked within an existing login shell, avoid duplicating path to the shims by removing existing occurrences before prepending. --- bin/pyenv-virtualenv-init | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/pyenv-virtualenv-init b/bin/pyenv-virtualenv-init index 404ddde4..1a60c539 100755 --- a/bin/pyenv-virtualenv-init +++ b/bin/pyenv-virtualenv-init @@ -86,6 +86,8 @@ fi case "$shell" in fish ) cat <