Giter VIP home page Giter VIP logo

oh-my-posh-setup's Introduction

Oh-My-Posh-Setup

Set up steps for oh my posh terminal prompt

  1. install oh-my-posh.

    https://youtu.be/NaHgtHnOPi8?t=33

  2. Verify its installed by typing Oh-My-Posh in the terminal.

  3. 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 Fonts

Windows Terminal Settings

Windows Terminal Settings

Windows Terminal Settings

  1. Install modules PSReadLine, Terminal-Icons and z

  2. Install zee or z

    1. https://www.hanselman.com/blog/spend-less-time-cding-around-directories-with-the-powershell-z-shortcut
    2. https://youtu.be/VT2L1SXFq9U?t=2576
  3. Powershell module path is got by looking at the variable $env:PSModulePath

    1. C:\Users\koppviv\Documents\PowerShell\Modules;
    2. C:\Program Files\PowerShell\Modules;
    3. c:\program files\powershell\7\Modules;
    4. C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules
  4. Configure Oh-My-Posh to start up when terminal starts. https://youtu.be/NaHgtHnOPi8?t=130

  5. Create a powershell profile. Type $profile on the terminal

The profile is here.

C:\Users\YourUserName\Documents\PowerShell

Powershell Profile

Look for segments in the following.

https://ohmyposh.dev/docs/themes

Installing windows terminal

For Visual Studio Code, do this.

https://youtu.be/VT2L1SXFq9U?t=2021

For Microsoft Visual Studio do the following.

To open terminal. View Menu in Visual Studio

You have the terminal

The powershell terminal is here

Tool -> Options

The terminal Fonts

Fonts

  1. https://ohmyposh.dev/docs/installation/fonts#installation
  2. https://ohmyposh.dev/docs/installation/fonts#configuration

References

  1. Scott Hanselman Windows Terminal

  2. https://www.youtube.com/watch?v=VT2L1SXFq9U

  3. Take your Windows Terminal and PowerShell to the next level with Terminal Icons - Scott Hanselman's Blog

    1. https://www.hanselman.com/blog/take-your-windows-terminal-and-powershell-to-the-next-level-with-terminal-icons
  4. https://youtu.be/OL9Mr4dzIWU?t=55

  5. https://www.youtube.com/watch?v=FC-gLkYWXLw

  6. https://stackoverflow.com/a/70536536/1977871

  7. https://learn.microsoft.com/en-us/windows/terminal/tutorials/custom-prompt-setup

  8. Make Windows Terminal look amazing! - Christian Lempa

    1. https://www.youtube.com/watch?v=AK2JE2YsKto
  9. https://www.hanselman.com/blog/spend-less-time-cding-around-directories-with-the-powershell-z-shortcut

  10. The Themes folder is as follows.

C:\Users\koppviv\AppData\Local\Programs\oh-my-posh\themes\

  1. Scott Hanselman
    1. https://gist.github.com/shanselman

oh-my-posh-setup's People

Contributors

avtsvivek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.