File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4747 . ~ /.config/git/git-prompt.sh
4848 fi
4949else
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
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
8282 PS1=" $PS1 " ' \[\033[0m\]' # reset color
8383fi
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)
8888if test -z " $WINELOADERNOEXEC "
You can’t perform that action at this time.
0 commit comments