From ab56219df13a75fb8ebb31dcdcf1e73658522ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Thu, 23 May 2013 00:23:56 +0200 Subject: [PATCH] Merge git, git-svn in case..esac --- liquidprompt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liquidprompt b/liquidprompt index a8f5dc8..531a6b6 100755 --- a/liquidprompt +++ b/liquidprompt @@ -1501,8 +1501,8 @@ _lp_set_prompt() # if do not change of working directory but... elif [[ -n "$LP_VCS_TYPE" ]]; then # we are still in a VCS dir case "$LP_VCS_TYPE" in - git) LP_VCS=$(_lp_sl "$(_lp_git_branch_color)");; - git-svn) LP_VCS=$(_lp_sl "$(_lp_git_branch_color)");; + # git, git-svn + git*) LP_VCS=$(_lp_sl "$(_lp_git_branch_color)");; hg) LP_VCS=$(_lp_sl "$(_lp_hg_branch_color)");; svn) LP_VCS=$(_lp_sl "$(_lp_svn_branch_color)");; fossil) LP_VCS=$(_lp_sl "$(_lp_fossil_branch_color)");;