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=""