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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment