support the command __git_ps1
for git branch prompt?
#3512
Unanswered
goyalyashpal
asked this question in
Q&A
Replies: 2 comments 3 replies
-
You could use oh-my-zsh configurations with zsh shell. |
Beta Was this translation helpful? Give feedback.
2 replies
-
In my env, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So,
PS1
of gitforwindows contains this (command?)__git_ps1
for (i think) fetching the name of the branchbash
too - even for still using the gitforwindows for git...(as i don't use the "Git bash" launcher; rather terminals launch the system wide configured shell - msys bash)
PS1
Examples of
PS1
PS1 Samples collected from shells elsewhere
(digress: the
$TITLEPREFIX:$PWD
seems to be similar to what's suggested in #1798)Additional
Beta Was this translation helpful? Give feedback.
All reactions