summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-08-23 12:27:59 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-08-23 12:34:40 +0200
commit2e3d3603d556e5f1b0f5ba1a7f4875ef22a33586 (patch)
tree85be43b5a4001b73789d346eaa208b53afee3c75
parent0bfce961845e423f24d3d7015dde05b9a5917d07 (diff)
[Git] Squashes remotes names
-rw-r--r--01_Internal.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/01_Internal.zsh b/01_Internal.zsh
index 32e412a..902556e 100644
--- a/01_Internal.zsh
+++ b/01_Internal.zsh
@@ -137,9 +137,9 @@ __get_hg_branch ()
__cleanup_git_branch_name() { sed '
s,^tags/\(.*\),[\1],
/^remotes/ {
- s,^remotes/origin/,¬/,
- s,^remotes/devel/,~,
- s,^remotes/,…/,
+ s,^remotes/,,
+ s,^devel/,~,
+ s,^origin/,¬/,
s,^,%{\\033['$color[standout]'m%},
}
s,\^0$,,