Code Monkey home page Code Monkey logo

oh-my-posh-window-guide's Introduction

oh-my-posh-window-guide

  • install winget
  • install Nerd Fonts: nerd-fonts (to get icons ,dont worries you can still use your favorite font if they are available in nerd-fonts)
    • goto release : img-1
    • choose your favorite font and install its zip (choose from latest release): img-2
  • then extract it and install it
  • install oh my posh

Installation

winget install JanDeDobbeleer.OhMyPosh -s winget

Update

winget upgrade JanDeDobbeleer.OhMyPosh -s winget

For default theme enable:

oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\jandedobbeleer.omp.json" | Invoke-Expression

Want more themes?

Get-PoshThemes

if you restart powershell everything will go away :) no worries i got you.

to check which shell are you in:

oh-my-posh get shell

if you are in powershell:

notepad $PROFILE

When the above command gives an error, make sure to create the profile first.

New-Item -Path $PROFILE -Type File -Force

In this scenario, it can also be that PowerShell blocks running local scripts. To solve that, set PowerShell to only require remote scripts to be signed using Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine, or sign the profile.

Then add the following line in the file.(you can select any other theme )

oh-my-posh init pwsh --config 'C:\Users\${username}$\AppData\Local\Programs\oh-my-posh\themes\{themename}.omp.json' | Invoke-Expression>

oh-my-posh-window-guide's People

Contributors

masadsummair 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.