Tag Archive for ubuntu wsl

Ubuntu/Debian (linux) WSL and Docker

If you would like to use docker on windows Ubuntu/Debain WSL you have to modify the .bashrc file in your home directory.

and add this line to the end:

reload the modifications:

That’s all folks 😀

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