From 0f83c33a3b8d73550567b6479fedf4d3cdf1ae76 Mon Sep 17 00:00:00 2001 From: Romir K Date: Mon, 12 Feb 2024 09:58:27 +0000 Subject: [PATCH] Add fish prompt changing (#475) --- bin/pyenv-sh-activate | 15 ++++++++++- bin/pyenv-sh-deactivate | 10 +++++++- test/activate.bats | 52 +++++++++++++++++++++++++++++++++++--- test/conda-activate.bats | 13 +++++++++- test/conda-deactivate.bats | 7 +++++ test/deactivate.bats | 35 +++++++++++++++++++++++++ 6 files changed, 125 insertions(+), 7 deletions(-) diff --git a/bin/pyenv-sh-activate b/bin/pyenv-sh-activate index d01d0f1..d6b0d35 100755 --- a/bin/pyenv-sh-activate +++ b/bin/pyenv-sh-activate @@ -245,7 +245,20 @@ if [ -z "${PYENV_VIRTUALENV_DISABLE_PROMPT}" ]; then case "${shell}" in fish ) if [ -z "${QUIET}" ]; then - echo "pyenv-virtualenv: prompt changing not working for fish." 1>&2 + cat <