A minimalist Oh My Posh theme inspired by the GitHub Codespaces 2025 terminal.
Without Git repository:
With Git repository:
- Oh My Posh installed
- A Nerd Font (recommended: JetBrains Mono Nerd Font, Cascadia Code NF)
- PowerShell, Bash, Zsh or any compatible shell
Change path style:
In theme.json, modify the path segment's style property:
"folder"- current folder name only"short"- shortened path with~"full"- complete path"agnoster_short"- first letter of each folder
Change colors:
Edit foreground values:
- Username:
#0dbc79(green) - Path:
#3b8eea(blue) - Git branch:
#da0202(red)
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#0dbc79",
"style": "plain",
"template": "@{{ .UserName }}",
"type": "session"
},
{
"foreground": "#ffffff",
"style": "plain",
"template": " \u279c ",
"type": "text"
},
{
"foreground": "#3b8eea",
"properties": {
"style": "folder",
"folder_separator_icon": "/"
},
"style": "plain",
"template": " {{ .Path }}",
"type": "path"
},
{
"foreground": "#cccccc",
"properties": {
"branch_icon": "",
"fetch_status": false
},
"style": "plain",
"template": "{{ if .RepoName }} (<#da0202>{{ .HEAD }}</>){{ end }}",
"type": "git"
},
{
"foreground": "#cccccc",
"style": "plain",
"template": " $",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 3
}Um tema minimalista para Oh My Posh inspirado no terminal do GitHub Codespaces 2025.
Sem repositório Git:
Com repositório Git:
- Oh My Posh instalado
- Uma Nerd Font (recomendado: JetBrains Mono Nerd Font, Cascadia Code NF)
- PowerShell, Bash, Zsh ou qualquer shell compatível
Mudar estilo do caminho:
No theme.json, modifique a propriedade style do segmento path:
"folder"- apenas nome da pasta atual"short"- caminho encurtado com~"full"- caminho completo"agnoster_short"- primeira letra de cada pasta
Mudar cores:
Edite os valores de foreground:
- Username:
#0dbc79(verde) - Path:
#3b8eea(azul) - Git branch:
#da0202(vermelho)
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#0dbc79",
"style": "plain",
"template": "@{{ .UserName }}",
"type": "session"
},
{
"foreground": "#ffffff",
"style": "plain",
"template": " \u279c ",
"type": "text"
},
{
"foreground": "#3b8eea",
"properties": {
"style": "folder",
"folder_separator_icon": "/"
},
"style": "plain",
"template": " {{ .Path }}",
"type": "path"
},
{
"foreground": "#cccccc",
"properties": {
"branch_icon": "",
"fetch_status": false
},
"style": "plain",
"template": "{{ if .RepoName }} (<#da0202>{{ .HEAD }}</>){{ end }}",
"type": "git"
},
{
"foreground": "#cccccc",
"style": "plain",
"template": " $",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 3
}Made with ☕ by @lvcaspacifico 👋

