Skip to content

Commit e10abe5

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents c80450d + 12e4de1 commit e10abe5

8 files changed

+6
-9
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ git clone https://github.com/ogr3/bash-git-prompt.git .bash-git-prompt
123123

124124
# GIT_PROMPT_SHOW_UPSTREAM=1 # uncomment to show upstream tracking branch
125125

126+
# GIT_PROMPT_STATUS_COMMAND=gitstatus_pre-1.7.10.sh # uncomment to support Git older than 1.7.10
127+
126128
# GIT_PROMPT_START=... # uncomment for custom prompt start sequence
127129
# GIT_PROMPT_END=... # uncomment for custom prompt end sequence
128130

git-prompt-help.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# git-prompt-help -- show useful info to help new users with the information
33
# being displayed.
44

gitprompt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
function async_run() {
44
{

gitstatus.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# -*- coding: UTF-8 -*-
33
# gitstatus.sh -- produce the current git repo status on STDOUT
44
# Functionally equivalent to 'gitstatus.py', but written in bash (not python).

gitstatus_pre-1.7.10.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# -*- coding: UTF-8 -*-
33
# gitstatus.sh -- produce the current git repo status on STDOUT
44
# Functionally equivalent to 'gitstatus.py', but written in bash (not python).

themes/Default.bgptheme

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ unset_git_prompt_colors() {
1616
unset GIT_PROMPT_CLEAN
1717
unset GIT_PROMPT_COMMAND_OK
1818
unset GIT_PROMPT_COMMAND_FAIL
19-
unset GIT_PROMPT_STATUS_COMMAND
2019
unset GIT_PROMPT_VIRTUALENV
2120
unset GIT_PROMPT_UPSTREAM
2221
unset GIT_PROMPT_START_USER

themes/TruncatedPwd_WindowTitle.bgptheme

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ override_git_prompt_colors() {
3030
echo -n "[${PS1}]${ResetColor}"
3131
}
3232

33-
Time12a="\$(date +%H:%M)"
34-
3533
GIT_PROMPT_START_USER="${Yellow}"
3634
GIT_PROMPT_START_ROOT="${GIT_PROMPT_START_USER}"
3735
GIT_PROMPT_END_USER=" _LAST_COMMAND_INDICATOR_\n${White}${Time12a}${ResetColor} $ "

themes/TruncatedPwd_WindowTitle_NoExitState.bgptheme

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ override_git_prompt_colors() {
3030
echo -n "[${PS1}]${ResetColor}"
3131
}
3232

33-
Time12a="\$(date +%H:%M)"
34-
3533
GIT_PROMPT_START_USER="${Yellow}"
3634
GIT_PROMPT_START_ROOT="${GIT_PROMPT_START_USER}"
3735
GIT_PROMPT_END_USER="\n${White}${Time12a}${ResetColor} $ "

0 commit comments

Comments
 (0)