From 6b26c7cac4ecc5ee795ca1d4ce7944a086b30cc7 Mon Sep 17 00:00:00 2001 From: Chris Coley <chris@codingallnight.com> Date: Tue, 3 Jul 2018 01:03:15 -0700 Subject: [PATCH] Add commented out defaults for 2 more GIT_PS1_* options Also documenting the performance penalty of the options. --- bashrc.local.example | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bashrc.local.example b/bashrc.local.example index 2536712..d4e62ce 100644 --- a/bashrc.local.example +++ b/bashrc.local.example @@ -6,9 +6,10 @@ fi # Enable Git prompt # This may cause slowdown on filesystems with slow IO if [ -f ~/.git-prompt.sh ]; then -# GIT_PS1_SHOWDIRTYSTATE=yes -# GIT_PS1_SHOWCOLORHINTS=yes -# GIT_PS1_HIDE_IF_PWD_IGNORED=yes +# GIT_PS1_SHOWDIRTYSTATE=yes # Medium Performance Hit +# GIT_PS1_SHOWUNTRACKEDFILES=yes # Large Performance Hit +# GIT_PS1_SHOWUPSTREAM='auto' # Very Small Performance Hit + GIT_PS1_SHOWCOLORHINTS=yes source ~/.git-prompt.sh fi -- GitLab