How to Customize and Beautify Powershell Terminal with Oh My Posh on Windows 11

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 2

  • @CodeJogot
    @CodeJogot  6 місяців тому +1

    1. Install Powershell from Microsoft Store.
    2. Install Oh My Posh Using the command: winget install JanDeDobbeleer.OhMyPosh -s wunget
    3. Install Font using the command: oh-my-posh font install |
    4. i) Change Default Terminal from Windows powershell to powershell.
    ii) Place the powershell code to the top.
    iii) Make the hidden value TRUE of Windows powershell.
    5. Cinfiguring Profile.
    i).$PROFILE
    ii) New-Item -path $PROFILE -Type File -Force
    iii) code $PROFILE
    iv) oh-my-posh init pwsh |Invoke-Expression
    6. Changing Themes.
    i) Local: oh-my-posh init pwsh --config "C:\User\travel\AppData\Local\Programs\oh-my-posh\themes\dracula.omp.jason" | Invoke-Expression
    ii) Remote: oh-my-posh init pwsh --config 'raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/atomic.omp.json' | Invoke-Expression
    7.
    i) Install Terminal Icons, Command: Install-Module -Name Terminal-Icons -Repository PSGallery
    ii) Place Icon Code on Profile Script: Import-Module -Name Terminal Icons

  • @sajjim1073
    @sajjim1073 3 місяці тому

    ভাই আমি যতবারই করতেছি, থিম এপ্লাই হচ্ছে কিন্তু User এর জায়গায় আমার নাম টা আসছে না। Trave আছে আপনার সেরকম আমার পিসিতে Sajjim নাম দেওয়া আছে Username এ, কিন্তু আমার powershell এ User শো করতেছে।