From 560d0b210db07d992ea5e0690a501c36c06c6cb8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 2 Nov 2020 19:24:29 +0100 Subject: prompt: tweak git prompt variables --- bash/prompt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bash') diff --git a/bash/prompt b/bash/prompt index 8651b6b..b4a1b87 100755 --- a/bash/prompt +++ b/bash/prompt @@ -7,6 +7,10 @@ if [ "x$(type -t __git_ps1)" != "xfunction" ]; then } fi +GIT_PS1_SHOWDIRTYSTATE=1 +GIT_PS1_SHOWSTASHSTATE=1 +GIT_PS1_SHOWUPSTREAM="auto" + __prompt_func() { ################################################ # THERE SHOULD BE NO NEED TO EDIT THIS SECTION # -- cgit v1.2.3