Steps to replicate my config. At this moments it has the "transient prompt" enabled:
-
Install the new Windows Terminal from Microsoft Store
-
Install the last version of Powershell, also from Microsoft Store
-
Install the fonts "CascadiaCode" from Nerd Fonts (direct link)
-
Install some packages and utils:
winget install Git.Git --silent --accept-package-agreements --accept-source-agreements
winget install GitHub.cli --silent --accept-package-agreements --accept-source-agreements
winget install JanDeDobbeleer.OhMyPosh --silent --accept-package-agreements --accept-source-agreements
Install-Module -Name Terminal-Icons -Repository PSGallery
Install-Module -Name PSReadLine -AllowPrerelease
-
Clone the files from this repository:
cd $HOME
gh repo clone nigr0mante/My_terminal <username>/Documents/PowerShell
-
Change the line 10 of the Microsoft.PowerShell_profile.ps1 to match your Windows username.
Example: [...] C:\Users<username>\AppData\Local\ [...]
-
Now you must copy/move the .json files inside your 'theme' for Oh-My-Posh folder (by default C:\Users\<username>\AppData\Local\Programs\oh-my-posh\themes)