summaryrefslogtreecommitdiff
path: root/git.zsh
diff options
context:
space:
mode:
authorGeoff Garside <geoff@geoffgarside.co.uk>2009-08-31 14:01:39 +0100
committerGeoff Garside <geoff@geoffgarside.co.uk>2009-08-31 14:01:39 +0100
commit5811a6b11f86a2807ebd57697eaa67947276b61d (patch)
treee364418a8de3d266b841121e44f59273255ad35f /git.zsh
parent0f2e63f8995bfaf35b2cfc149866c3be503d3820 (diff)
downloadzsh-5811a6b11f86a2807ebd57697eaa67947276b61d.tar.gz
zsh-5811a6b11f86a2807ebd57697eaa67947276b61d.tar.bz2
zsh-5811a6b11f86a2807ebd57697eaa67947276b61d.zip
Strip colours from git.zsh
Diffstat (limited to 'git.zsh')
-rw-r--r--git.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.zsh b/git.zsh
index b9a86173f..7f5714f74 100644
--- a/git.zsh
+++ b/git.zsh
@@ -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