Set up steps for oh my posh terminal prompt
-
Verify its installed by typing Oh-My-Posh in the terminal.
-
Install the font. https://youtu.be/NaHgtHnOPi8?t=100
https://www.nerdfonts.com/font-downloads
You can consider the following. https://www.programmingfonts.org/#cascadia-code
• Reserved Font Name: Cascadia Code • Version: 2111.01 • Info: A fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal
https://www.programmingfonts.org/#jetbrainsmono
• Version: 2.304 • Info: JetBrains officially created font for developers
Download the zip file of your choice, unzip, select them all and install.
-
Install modules PSReadLine, Terminal-Icons and z
-
Install zee or z
-
Powershell module path is got by looking at the variable $env:PSModulePath
- C:\Users\koppviv\Documents\PowerShell\Modules;
- C:\Program Files\PowerShell\Modules;
- c:\program files\powershell\7\Modules;
- C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules
-
Configure Oh-My-Posh to start up when terminal starts. https://youtu.be/NaHgtHnOPi8?t=130
-
Create a powershell profile. Type $profile on the terminal
The profile is here.
C:\Users\YourUserName\Documents\PowerShell
Look for segments in the following.
https://ohmyposh.dev/docs/themes
https://youtu.be/VT2L1SXFq9U?t=2021
You have the terminal
Tool -> Options
- https://ohmyposh.dev/docs/installation/fonts#installation
- https://ohmyposh.dev/docs/installation/fonts#configuration
-
Scott Hanselman Windows Terminal
-
Take your Windows Terminal and PowerShell to the next level with Terminal Icons - Scott Hanselman's Blog
-
https://learn.microsoft.com/en-us/windows/terminal/tutorials/custom-prompt-setup
-
Make Windows Terminal look amazing! - Christian Lempa
-
The Themes folder is as follows.
C:\Users\koppviv\AppData\Local\Programs\oh-my-posh\themes\
- Scott Hanselman