From 07926d66730c29868dc70e4725e211a48652d344 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sun, 26 Jan 2020 16:10:27 -0800 Subject: [PATCH] Fix virtualenv formatting of prompt. Fixes #11. --- dotfiles/zshrc.d/matir_prompt/prompt_matir_setup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/zshrc.d/matir_prompt/prompt_matir_setup b/dotfiles/zshrc.d/matir_prompt/prompt_matir_setup index 1c6e3cc..2baf96c 100644 --- a/dotfiles/zshrc.d/matir_prompt/prompt_matir_setup +++ b/dotfiles/zshrc.d/matir_prompt/prompt_matir_setup @@ -34,6 +34,9 @@ function prompt_matir_setup { RPROMPT+='%? ' RPROMPT+='%{$reset_color%})' RPROMPT+='${PROMPT_VIMODE}' + + # Disable virtualenv's own python info + VIRTUAL_ENV_DISABLE_PROMPT="yes" } function zle-keymap-select {