+#!bash Coloured prompts.
+# To use, add a call to __ps1 in your .bash_profile file.
+#
+# The prompt comprises multiple parts, some of which may be hidden by unsetting
+# shell variables or using the ``prompt'' function.
+#
+# The first part of the prompt is user@host where host is highlighted in
+# green if the last command exited 0 or in red otherwise.
+# This part will be shown only if __ps1_user is 1. By default it is 1.
+# The success and failure colours can be changed by modifying
+# $PROMPT_OK_COLOUR and $PROMPT_FAILURE_COLOUR respectively.
+#
+# The second part of the prompt is taken from git-completion.bashrc.
+# It is shown only if __ps1_git is 1. By default it is 0.