Browse code

Strip colours from git.zsh

Geoff Garside authored on 31/08/2009 at 13:01:39
Showing 1 changed files
... ...
@@ -4,7 +4,7 @@ function git_prompt_info() {
4 4
   branch=${ref#refs/heads/}
5 5
 
6 6
   if [[ -d .git ]]; then
7
-    CURRENT_BRANCH="%{$fg[red]%}git:(%{$fg[green]${branch}%{$fg[red])"
7
+    CURRENT_BRANCH="(${branch})"
8 8
   else
9 9
     CURRENT_BRANCH=''
10 10
   fi