From 65ccfb8c0f190bdb9de63d443be344977ff13cc7 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sun, 14 Nov 2021 11:50:33 +0100 Subject: [PATCH] added missing divider in EXIT_STATUS --- .functions/ps1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.functions/ps1.sh b/.functions/ps1.sh index 95f60c0..2fde50e 100644 --- a/.functions/ps1.sh +++ b/.functions/ps1.sh @@ -28,7 +28,7 @@ function bash_ps1 () { export GIT_PS1_SHOWDIRTYSTATE=1 export GIT_PS1_SHOWUNTRACKEDFILES=1 - [[ $LAST_EXIT_STATUS != 0 ]] && EXIT_STATUS="${COLOR_DIVIDER}${COLOR_EXIT_STATUS}${LAST_EXIT_STATUS}${COLOR_DIVIDER}]" + [[ $LAST_EXIT_STATUS != 0 ]] && EXIT_STATUS="${COLOR_DIVIDER}[${COLOR_EXIT_STATUS}${LAST_EXIT_STATUS}${COLOR_DIVIDER}]" [[ $(type -t __git_ps1) == function ]] && GIT_BRANCH="${COLOR_GITBRANCH}$(__git_ps1)${COLOR_DIVIDER}" [[ -n "$VIRTUAL_ENV" ]] && PYTHON_ENV="${COLOR_DIVIDER}(${COLOR_VENV}${VIRTUAL_ENV##*/}${COLOR_DIVIDER})" if [[ $(type kubectl) ]]; then