diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-08-21 10:54:15 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-08-21 10:54:15 +0200 |
commit | 61301a7ca3fca550e5fd5c61cd20d72f5c65b4e7 (patch) | |
tree | a0d1b23feb061edcf0e4cfd17c2408bba92ddc5a | |
parent | e2252e5d25ea14225df24b3bb67d2007a57f1c03 (diff) |
[Git] squashes remotes branch names
-rw-r--r-- | 01_Internal.zsh | 6 |
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$,, |