From 228ded4076ef4c7fd4cade99c98f5c5afb82800c Mon Sep 17 00:00:00 2001 From: Chris Coley <chris@codingallnight.com> Date: Fri, 16 Mar 2018 23:12:22 -0700 Subject: [PATCH] Updating the example bashrc.local file to source git-prompt.sh --- bashrc.local.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bashrc.local.example b/bashrc.local.example index 32c34e9..125d26e 100644 --- a/bashrc.local.example +++ b/bashrc.local.example @@ -4,13 +4,13 @@ if [ -f ~/.git-completion.bash ]; then fi # Enable Git prompt -# This may cause slowdown in shared filesystems with slow IO -#if [ -f ~/.git-prompt.sh ]; then +# 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 -# source ~/.git-prompt.sh -#fi + source ~/.git-prompt.sh +fi PROMPT_COMMAND='__git_ps1 "${debian_chroot:+($debian_chroot)}\h:\[\033[38;5;25m\][\w]\[\033[00m\]" " \$ " " {%s}"' -- GitLab