Skip to content

Instantly share code, notes, and snippets.

@Bigtalljosh
Last active October 21, 2021 10:18
Show Gist options
  • Save Bigtalljosh/d4960959a1df683fd0fa37c30b0ba6e0 to your computer and use it in GitHub Desktop.
Save Bigtalljosh/d4960959a1df683fd0fa37c30b0ba6e0 to your computer and use it in GitHub Desktop.
bigtalljosh.omp.json
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "plain",
"foreground": "#3A86FF",
"properties": {
"prefix": ""
}
},
{
"type": "root",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#f1184c",
"background": "#242424",
"properties": {
"prefix": "- root ",
"postfix": ""
}
},
{
"type": "path",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#33DD2D",
"background": "#242424",
"properties": {
"prefix": " ",
"style": "full",
"folder_separator_icon": "/"
}
},
{
"type": "poshgit",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#3A86FF",
"background": "#242424",
"properties": {
"display_stash_count": true,
"display_upstream_icon": true,
"prefix": ""
}
},
{
"type": "exit",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#242424",
"background": "#33DD2D",
"properties": {
"display_exit_code": false,
"always_enabled": true,
"color_background": true,
"error_color": "#f1184c",
"prefix": " ﲍ"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#f1184c",
"properties": {
"prefix": "",
"text": "➜"
}
}
]
}
]
}
@Bigtalljosh
Copy link
Author

Powershell Profile:

Import-Module posh-git
$env:POSH_GIT_ENABLED = $true
oh-my-posh --init --shell pwsh --config C:\Users\josh.dadak\AppData\Local\Programs\oh-my-posh\themes\bigtalljosh.omp.json | Invoke-Expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment