Ubuntu WSL add git brach name to promt

you have to mofify ~/.basrc from that:

 

to

Modification details:

  • add $(parse_git_branch)\[\033[00m\] 
  • and COMMENT the unset color_prompt force_color_prompt line

src: https://askubuntu.com/questions/730754/how-do-i-show-the-git-branch-with-colours-in-bash-prompt

Comments are closed.