From c6ff093344a3823d8b07c90a6478942d44d0392e Mon Sep 17 00:00:00 2001 From: "Eric N. Vander Weele" Date: Thu, 19 May 2022 12:03:51 -0400 Subject: [PATCH] Deduplicate shims in $PATH for the fish shell during initialization (#430) 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 404ddde..1a60c53 100755 --- a/bin/pyenv-virtualenv-init +++ b/bin/pyenv-virtualenv-init @@ -86,6 +86,8 @@ fi case "$shell" in fish ) cat <