Skip to content

Commit a8d897f

Browse files
authored
adjust comments
1 parent 304b8c7 commit a8d897f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vendor/git-prompt.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ then
4747
. ~/.config/git/git-prompt.sh
4848
fi
4949
else
50-
# Taken parts from https://github.com/git-for-windows/build-extra/blob/main/git-extra/git-prompt.sh
50+
# Source: github.com/git-for-windows/build-extra/blob/main/git-extra/git-prompt.sh
5151
PS1='\[\033]0;${TITLEPREFIX:+$TITLEPREFIX:}${PWD//[^[:ascii:]]/?}\007\]' # set window title to TITLEPREFIX (if set) and current working directory
5252
# PS1="$PS1"'\n' # new line (disabled)
5353
PS1="$PS1"'\[\033[32m\]' # change to green and bold
@@ -70,7 +70,7 @@ else
7070
PS1="$PS1"'\[\033[36m\]' # change color to cyan
7171
PS1="$PS1"'`__git_ps1`' # bash function
7272
else
73-
PS1="$PS1"'\[\033[37;1m\]' # change color to white
73+
PS1="$PS1"'\[\033[37;1m\]' # change color to white
7474
PS1="$PS1"'`getSimpleGitBranch`'
7575
fi
7676
fi
@@ -82,7 +82,7 @@ else
8282
PS1="$PS1"'\[\033[0m\]' # reset color
8383
fi
8484

85-
MSYS2_PS1="$PS1" # for detection by MSYS2 SDK's bash.basrc
85+
MSYS2_PS1="$PS1" # for detection by MSYS2 SDK's bash.basrc
8686

8787
# Evaluate all user-specific Bash completion scripts (if any)
8888
if test -z "$WINELOADERNOEXEC"

0 commit comments

Comments
 (0)