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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So,
PS1of gitforwindows contains this (command?)__git_ps1for (i think) fetching the name of the branchbashtoo - 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)
PS1Examples of
PS1PS1 Samples collected from shells elsewhere
(digress: the
$TITLEPREFIX:$PWDseems to be similar to what's suggested in #1798)Additional
Beta Was this translation helpful? Give feedback.
All reactions