summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-11-02 19:24:29 +0100
committerAnton Khirnov <anton@khirnov.net>2020-11-02 19:24:29 +0100
commit560d0b210db07d992ea5e0690a501c36c06c6cb8 (patch)
tree2f1d515a402d8bf417af3f50e15bb0dac36ddcb6 /bash
parent0efa5121a2169b1833217d27a900a701803a1c1b (diff)
prompt: tweak git prompt variables
Diffstat (limited to 'bash')
-rwxr-xr-xbash/prompt4
1 files changed, 4 insertions, 0 deletions
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 #