Browse Source

Strip colours from git.zsh

master
Geoff Garside 15 years ago
parent
commit
be966214c9
  1. 2
      git.zsh

2
git.zsh

@ -4,7 +4,7 @@ function git_prompt_info() { @@ -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

Loading…
Cancel
Save