From 1e82bbad4ed3627b6e261f2a5426c6072f9f586e Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Tue, 2 Aug 2022 16:11:09 +0200 Subject: [PATCH] silence autopyenv --- .local/share/zsh/plugins/autopyenv/autopyenv.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/share/zsh/plugins/autopyenv/autopyenv.plugin.zsh b/.local/share/zsh/plugins/autopyenv/autopyenv.plugin.zsh index 9f724e245..7fb9c156f 100644 --- a/.local/share/zsh/plugins/autopyenv/autopyenv.plugin.zsh +++ b/.local/share/zsh/plugins/autopyenv/autopyenv.plugin.zsh @@ -3,14 +3,14 @@ function chpwd_activate(){ for pydir in $(ls $PYENV_DIR); do if [[ $(pwd|sed -e s@/@_@g) =~ "^$pydir" ]]; then if [ "x$VIRTUAL_ENV" != "x$PYENV_DIR/$pydir" ]; then - echo "Activating virtual env $pydir" + # echo "Activating virtual env $pydir" source "$PYENV_DIR/$pydir/bin/activate" return fi fi done if [ "x$VIRTUAL_ENV" != "x" ]; then - echo "Deactivating virtual env $VIRTUAL_ENV" + # echo "Deactivating virtual env $VIRTUAL_ENV" deactivate fi }