1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 08:08:00 +00:00

Strip colours from git.zsh

This commit is contained in:
Geoff Garside 2009-08-31 14:01:39 +01:00
parent 1f82cfc85a
commit be966214c9

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