mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Strip colours from git.zsh
This commit is contained in:
parent
0f2e63f899
commit
5811a6b11f
1 changed files with 1 additions and 1 deletions
2
git.zsh
2
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
|
||||
|
|
Loading…
Reference in a new issue