
See the understanding example of my WSL Ubuntu session.

PROMPT_COMMAND="_update_ps1 $PROMPT_COMMAND"Īnd you will now also have the fancy prompt in your WSL Ubuntu session. Go get -u /justjanne/powerline-goĪdd the following to your ~/.bashrc file GOPATH=$HOME/go PowerLine-Go with the following commands. The following looks the most like what we did for Windows. if (!(Test-Path -Path $PROFILE )) Īnd add the following lines to it. Then run the following command to load it every time when you start PowerShell. When you are using PowerShell core then also install PSReadLine Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck Install-Module oh-my-posh -Scope CurrentUser Install-Module posh-git -Scope CurrentUser I assume you have already installed Git for Windows or on Linux for this to work. Run the following command to install the modules GitHub and install it by selecting the latest file here and then when it is downloaded open it.įor PowerShell you need Posh-Git and Oh-My-Posh Microsoft Store the latest version at the moment when writing this blog is v.0. You can download the Windows Terminal from the And also what to do that you get them in Visual Studio Code with PowerShell. I will describe the steps to do how you can get a fancy prompt in Windows Terminal and PowerShell and also in WSL with Ubuntu.

How will you prompt be looking like when you are finished with reading and going trough the steps in the blog
