From 6ea988e0a05abd01e217a4168bdc3845b1bb92bd Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sat, 13 Nov 2021 15:42:10 +0100 Subject: [PATCH] . --- .functions/ps1.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.functions/ps1.sh b/.functions/ps1.sh index e22c023..95f60c0 100644 --- a/.functions/ps1.sh +++ b/.functions/ps1.sh @@ -24,6 +24,10 @@ function bash_ps1 () { local CURRENT_CONTEXT="" + export GIT_PS1_SHOWCOLORHINTS=1 + 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}]" [[ $(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})"