summaryrefslogtreecommitdiff
path: root/git-prompt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-prompt.sh')
-rwxr-xr-xgit-prompt.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-prompt.sh b/git-prompt.sh
index 99cf6ba..88db6bc 100755
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -510,8 +510,8 @@ parse_git_status() {
### compose vcs_info
- if [[ $init ]]; then
- vcs_info=M$white=init
+ if [[ $init ]]; then
+ vcs_info=${white}init
else
if [[ "$detached" ]] ; then
@@ -607,7 +607,7 @@ disable_set_shell_label() {
trap - DEBUG >& /dev/null
}
-# enable stuffing currently executed command displays in label
+# show currently executed command in label
enable_set_shell_label() {
disable_set_shell_label
# check for BASH_SOURCE being empty, no point running set_shell_label on every line of .bashrc