From 203e43863dc5d1287807d09f3aebdf3e22942e97 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Fri, 12 Nov 2021 13:44:34 +0100 Subject: [PATCH] . --- .functions/ps1.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.functions/ps1.sh b/.functions/ps1.sh index b95dc58..d59fbdd 100644 --- a/.functions/ps1.sh +++ b/.functions/ps1.sh @@ -9,18 +9,18 @@ function bash_ps1 () { local TODO="" local STATUS="" - local COLOR_OFF='\033[0m' - local COLOR_DIVIDER='\033[0;32m' + local COLOR_OFF='\[\033[0m\]' + local COLOR_DIVIDER='\[\033[0;32m\]' local COLOR_USERNAME='\[\e[34;1m\]' local COLOR_USERHOSTAT='\[\e[34;1m\]' local COLOR_HOSTNAME='\[\e[34;1m\]' local COLOR_GITBRANCH='\[\e[33;1m\]' - local COLOR_VENV='\033[0;36m' - local COLOR_PATH='\033[0;37m' - local COLOR_EXIT_STATUS='[\033[1;37m\033[41m' - local COLOR_KUBERNETES='\033[1;37m\033[44m' - local COLOR_TODO='\033[1;30m\033[43m' - local COLOR_DOTF='\033[1;37m\033[45m' + local COLOR_VENV='\[\033[0;36m\]' + local COLOR_PATH='\[\033[0;37m\]' + local COLOR_EXIT_STATUS='\[\033[1;37m\]\[\033[41m\]' + local COLOR_KUBERNETES='\[\033[1;37m\]\[\033[44m\]' + local COLOR_TODO='\[\033[1;30m\]\[\033[43m\]' + local COLOR_DOTF='\[\033[1;37m\]\[\033[45m\]' local CURRENT_CONTEXT=""