Skip to content

Instantly share code, notes, and snippets.

@adojos
Last active March 13, 2023 21:37
Show Gist options
  • Save adojos/5eb2d37c857d9e23611c9adf1faedc89 to your computer and use it in GitHub Desktop.
Save adojos/5eb2d37c857d9e23611c9adf1faedc89 to your computer and use it in GitHub Desktop.
Oh-my-posh - Aliens Theme Config (Windows PowerShell v5.1) #powershell

Oh-my-posh - Aliens Theme Config Windows PowerShell v5.1

My 'Aliens Theme' json config for Oh-my-posh on Windows PowerShell

👉 PowerShell Profile Path

AllUsersAllHosts -       C:\Windows\System32\WindowsPowerShell\v1.0\profile.ps1

AllUsersCurrentHost -    C:\Windows\System32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1

CurrentUserAllHosts -    C:\Users\UserName\Documents\WindowsPowerShell\profile.ps1

CurrentUserCurrentHost - C:\Users\UserName\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

aliens-tushar.omp.json

{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "blocks": [
    {
      "type": "prompt",
      "alignment": "left",
      "segments": [
        {
          "type": "session",
          "style": "diamond",
          "foreground": "#ffffff",
          "background": "#61AFEF",
          "leading_diamond": "\uE0B6",
          "trailing_diamond": "\uE0B0"
        },
        {
          "type": "path",
          "style": "powerline",
          "powerline_symbol": "\uE0B0",
          "foreground": "#ffffff",
          "background": "#C678DD",
          "properties": {
            "style": "folder"
          }
        },
        {
          "type": "git",
          "style": "powerline",
          "powerline_symbol": "\uE0B0",
          "foreground": "#193549",
          "background": "#95ffa4"
        },
        {
          "type": "python",
          "style": "diamond",
          "foreground": "#ffffff",
          "background": "#FF6471",
          "leading_diamond": "",
          "trailing_diamond": "\uE0B4",
          "properties": {
            "prefix": "<transparent>\uE0B0 </>"
          }
        }
      ]
    }
  ],
  "final_space": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment