summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-08-21 10:54:15 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-08-21 10:54:15 +0200
commit61301a7ca3fca550e5fd5c61cd20d72f5c65b4e7 (patch)
treea0d1b23feb061edcf0e4cfd17c2408bba92ddc5a
parente2252e5d25ea14225df24b3bb67d2007a57f1c03 (diff)
[Git] squashes remotes branch 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 7a06365..32e412a 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/,,
- s,^devel/,~,
- s,^origin/,,
+ s,^remotes/origin/,¬/,
+ s,^remotes/devel/,~,
+ s,^remotes/,…/,
s,^,%{\\033['$color[standout]'m%},
}
s,\^0$,,