From 5d7894d1894564075538d8f685b85eb41d6fffa2 Mon Sep 17 00:00:00 2001 From: K Kollmann Date: Sun, 14 Jan 2024 18:13:31 +0100 Subject: [PATCH] fix: PATH update for non-fish shells Checks PATH variable for existing inclusion of shims for shells other than fish. See PR #430 --- bin/pyenv-virtualenv-init | 6 ++++-- test/init.bats | 12 ++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/bin/pyenv-virtualenv-init b/bin/pyenv-virtualenv-init index e12769a8..5bcc3784 100755 --- a/bin/pyenv-virtualenv-init +++ b/bin/pyenv-virtualenv-init @@ -95,8 +95,10 @@ EOS ;; * ) cat <