Commit 652caa6b authored by Geoff Garside's avatar Geoff Garside
Browse files

Colour branch name and add dirty string

parent a9c18304
...@@ -4,7 +4,7 @@ function git_prompt_info() { ...@@ -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="(${branch})" CURRENT_BRANCH="(%{$fg[red]%}${branch}%{$reset_color%}) $(parse_git_dirty) "
else else
CURRENT_BRANCH='' CURRENT_BRANCH=''
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment