mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Strip colours from git.zsh
This commit is contained in:
1 parent
0f2e63f899
commit
5811a6b11f
1 file changed
+1
-1
@@ -4,7 +4,7 @@ function git_prompt_info() {
|
|||||||
branch=${ref#refs/heads/}
|
branch=${ref#refs/heads/}
|
||||||
|
|
||||||
if [[ -d .git ]]; then
|
if [[ -d .git ]]; then
|
||||||
CURRENT_BRANCH="%{$fg[red]%}git:(%{$fg[green]${branch}%{$fg[red])"
|
CURRENT_BRANCH="(${branch})"
|
||||||
else
|
else
|
||||||
CURRENT_BRANCH=''
|
CURRENT_BRANCH=''
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user