1
0
Fork 0

Colour branch name and add dirty string

pull/4/head
Geoff Garside 15 years ago
parent 5f039558a3
commit fee63f0db8

@ -4,7 +4,7 @@ function git_prompt_info() {
branch=${ref#refs/heads/}
if [[ -d .git ]]; then
CURRENT_BRANCH="(${branch})"
CURRENT_BRANCH="(%{$fg[red]%}${branch}%{$reset_color%}) $(parse_git_dirty) "
else
CURRENT_BRANCH=''
fi

Loading…
Cancel
Save