Strip colours from git.zsh

pull/81/head
Geoff Garside 2009-08-31 14:01:39 +01:00
parent 0f2e63f899
commit 5811a6b11f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ function git_prompt_info() {
branch=${ref#refs/heads/}
if [[ -d .git ]]; then
CURRENT_BRANCH="%{$fg[red]%}git:(%{$fg[green]${branch}%{$fg[red])"
CURRENT_BRANCH="(${branch})"
else
CURRENT_BRANCH=''
fi