From e7ca8c7de3c3ef9fc5a9b5ec979fc9b76798994e Mon Sep 17 00:00:00 2001 From: Chris Coley <chris@codingallnight.com> Date: Tue, 3 Jul 2018 02:10:24 -0700 Subject: [PATCH] Fix the whitespace in the prompt when using virtualenv --- bashrc.local.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc.local.example b/bashrc.local.example index 80ae4fc..45b2bc5 100644 --- a/bashrc.local.example +++ b/bashrc.local.example @@ -54,9 +54,9 @@ if [ -d $HOME/.virtualenvs ] && [ -f /usr/local/bin/virtualenvwrapper.sh ]; then fi fi if [ "${VIRT_ENV_TXT}" != "" ]; then - echo ${VIRT_ENV_TXT}" " + echo " ${VIRT_ENV_TXT}" fi fi } - PROMPT_COMMAND='__git_ps1 "$PS1_PRE $(add_venv_info)" "$PS1_POST" " {%s}"' + PROMPT_COMMAND='__git_ps1 "$PS1_PRE$(add_venv_info)" "$PS1_POST" " {%s}"' fi -- GitLab