Skip to content

Instantly share code, notes, and snippets.

@24Ryou
Last active July 5, 2026 10:36
Show Gist options
  • Select an option

  • Save 24Ryou/1d7bd2662b873c0e57ca4393f15c4711 to your computer and use it in GitHub Desktop.

Select an option

Save 24Ryou/1d7bd2662b873c0e57ca4393f15c4711 to your computer and use it in GitHub Desktop.
Ayous Oh My Posh theme

Ayous Oh My Posh Theme

A custom Oh My Posh theme configuration for a clean terminal prompt.

Preview

Ayous Oh My Posh theme preview

Use this theme with any shell supported by Oh My Posh, including Bash, Zsh, Fish, and PowerShell.

Installation

Download ayous.omp.json, then place it in your Oh My Posh config directory:

mkdir -p ~/.config/oh-my-posh
cp ayous.omp.json ~/.config/oh-my-posh/ayous.omp.json

Usage

Bash

Add this to ~/.bashrc:

eval "$(oh-my-posh init bash --config ~/.config/oh-my-posh/ayous.omp.json)"

Zsh

Add this to ~/.zshrc:

eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/ayous.omp.json)"

Fish

Add this to ~/.config/fish/config.fish:

oh-my-posh init fish --config ~/.config/oh-my-posh/ayous.omp.json | source

Requirements

Notes

If icons do not render correctly, install and select a Nerd Font in your terminal settings.

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#00AEEF",
"style": "plain",
"template": "{{ .UserName }}",
"type": "session"
},
{
"foreground": "#8BE9FD",
"properties": {
"folder_separator_icon": "/",
"home_icon": "~",
"style": "agnoster_short"
},
"style": "plain",
"template": " in {{ .Path }}",
"type": "path"
},
{
"foreground": "#50FA7B",
"properties": {
"branch_icon": "",
"fetch_status": true
},
"style": "plain",
"template": " git:({{ .HEAD }}){{ if .Working.Changed }} <#FFB86C>\u2717</>{{ end }}{{ if .Staging.Changed }} <#50FA7B>\u2713</>{{ end }}",
"type": "git"
},
{
"foreground": "#F1FA8C",
"properties": {
"display_mode": "environment"
},
"style": "plain",
"template": " py:{{ if .Venv }}{{ .Venv }}{{ else }}{{ .Full }}{{ end }}",
"type": "python"
},
{
"foreground": "#FF5555",
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "{{ if gt .Code 0 }} exit:{{ .Code }}{{ end }}",
"type": "status"
},
{
"foreground": "#50FA7B",
"style": "plain",
"template": " \u00b1",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 4
}
Display the source blob
Display the rendered blob
Raw
<svg width="900" height="210" viewBox="0 0 900 210" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Ayous Oh My Posh theme preview">
<rect width="900" height="210" rx="16" fill="#282A36"/>
<rect x="0" y="0" width="900" height="42" rx="16" fill="#191A21"/>
<circle cx="25" cy="21" r="7" fill="#FF5555"/>
<circle cx="49" cy="21" r="7" fill="#F1FA8C"/>
<circle cx="73" cy="21" r="7" fill="#50FA7B"/>
<text x="450" y="27" text-anchor="middle" fill="#F8F8F2" font-family="Inter, Segoe UI, Arial, sans-serif" font-size="14" opacity="0.75">ayous.omp.json</text>
<text x="36" y="92" fill="#6272A4" font-family="JetBrains Mono, Fira Code, Cascadia Code, monospace" font-size="20">~/projects/_gist</text>
<text x="36" y="140" font-family="JetBrains Mono, Fira Code, Cascadia Code, monospace" font-size="28" font-weight="600">
<tspan fill="#00AEEF">ayous</tspan>
<tspan fill="#8BE9FD"> in ~/../_gist</tspan>
<tspan fill="#50FA7B"> git:(main)</tspan>
<tspan fill="#FFB86C"> ✗</tspan>
<tspan fill="#50FA7B"> ±</tspan>
</text>
<text x="36" y="176" fill="#44475A" font-family="JetBrains Mono, Fira Code, Cascadia Code, monospace" font-size="16">session · path · git status · exit status · minimal prompt</text>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment