summaryrefslogtreecommitdiffstats
path: root/prompt.sh
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-07-24 09:50:52 +0100
committerMichael Allen <michael@michaelallen.io>2015-07-24 09:50:52 +0100
commit5e1372b1ee6b52e002c15d7b5a2575cebd7bceae (patch)
tree75bc6ebf3807aa39b923d00a33ed2c8e66f4f0a3 /prompt.sh
parent5c31b9242140877bef777dd37f0810457bd9b64a (diff)
downloadgit-sonar-5e1372b1ee6b52e002c15d7b5a2575cebd7bceae.tar.gz
git-sonar-5e1372b1ee6b52e002c15d7b5a2575cebd7bceae.zip
remove colors and use them in a function so that it isn't tied down to ZSH
Diffstat (limited to '')
-rwxr-xr-xprompt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt.sh b/prompt.sh
index 99ac6b3..0828b5e 100755
--- a/prompt.sh
+++ b/prompt.sh
@@ -18,6 +18,6 @@ else
local_behind=""
fi
-prompt="$(branch_name)$local_ahead$local_behind"
+prompt="$(branch_name)$local_behind$local_ahead $(zsh_color_changes_status)"
echo $prompt