Last active
December 29, 2021 12:02
-
-
Save panicoenlaxbox/333245651df7e4262cccd3ac7cceaa50 to your computer and use it in GitHub Desktop.
oh-my-posh with my personal preferences (dotnet & python)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"final_space": true, | |
"osc99": true, | |
"console_title": true, | |
"console_title_style": "folder", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "path", | |
"style": "diamond", | |
"foreground": "black", | |
"background": "lightBlue", | |
"leading_diamond": "\ue0b6", | |
"trailing_diamond": "\ue0b0", | |
"properties": { | |
"prefix": " \ue5ff ", | |
"style": "folder" | |
} | |
}, | |
{ | |
"type": "git", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#193549", | |
"background": "#fffb38" | |
}, | |
{ | |
"type": "dotnet", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#000000", | |
"background": "#00ffff", | |
"properties": { | |
"prefix": " \ue70c " | |
} | |
}, | |
{ | |
"type": "python", | |
"style": "powerline", | |
"powerline_symbol": "\ue0b0", | |
"foreground": "#000000", | |
"background": "#00ffff", | |
"properties": { | |
"prefix": " \ue235 ", | |
"display_mode": "environment" | |
} | |
} | |
] | |
} | |
] | |
} |
You have to create a file named panicoenlaxbox.omp.json
in %USERPROFILE%Documents\PowerShell\Modules\oh-my-posh\6.1.0\themes
and execute Set-PoshPrompt -Theme panicoenlaxbox
, anyway you can preview changes with Get-PoshThemes
It has been useful for me to use this extension to convert from/to unicode character with the CaskaydiaCove NF font https://marketplace.visualstudio.com/items?itemName=cwan.native-ascii-converter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With
code $PROFILE
you can edit your PS profile: