Skip to content
CLI Tools
Skill

/ohmyposh

Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on PowerShell, zsh, bash, or fish.

BOOST
From plugin
oh-my-posh
24k1 skill
Install
$ npx -y skills add jandedobbeleer/oh-my-posh --skill ohmyposh --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ohmyposh

Context preview

The summary Claude sees to decide when to auto-load this skill.

Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on PowerShell, zsh, bash, or fish.

SKILL.md

ohmyposh.SKILL.md
name: oh-my-posh
description: "Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on PowerShell, zsh, bash, or fish."

Oh My Posh

> Oh My Posh is a cross-shell, cross-platform prompt theme engine. It displays Git status, > language versions, cloud context, system metrics and more in a beautifully themed > terminal prompt — 119 segments in all.

How to use this skill

1. **Identify the user's OS** → follow the matching installation guide:

  • [Windows installation](/skills/ohmyposh/installation/windows.md)
  • [macOS installation](/skills/ohmyposh/installation/macos.md)
  • [Linux installation](/skills/ohmyposh/installation/linux.md)

2. **Identify the user's shell** → follow the matching shell setup guide:

  • [PowerShell](/skills/ohmyposh/shell/powershell.md)
  • [Bash](/skills/ohmyposh/shell/bash.md)
  • [Zsh](/skills/ohmyposh/shell/zsh.md)
  • [Fish](/skills/ohmyposh/shell/fish.md)
  • [Nu / Nushell](/skills/ohmyposh/shell/nu.md)
  • [Cmd (via Clink)](/skills/ohmyposh/shell/cmd.md)
  • [Elvish](/skills/ohmyposh/shell/elvish.md)
  • [Xonsh](/skills/ohmyposh/shell/xonsh.md)
  • [Yash](/skills/ohmyposh/shell/yash.md)

3. **Install a Nerd Font** — required for icons and glyphs:

   oh-my-posh font install meslo

`oh-my-posh font list` prints every installable font. Recommended: **Meslo LGM NF**. Set it in the terminal emulator's font settings after installing.

4. **Customize the prompt** → see [configuration](/skills/ohmyposh/configuration.md)

Detect the current shell

If the user is unsure which shell they are using (requires oh-my-posh to be installed first):

oh-my-posh get shell

Troubleshooting

  • **Icons show as boxes** — install a Nerd Font and set it in the terminal emulator.
  • **`oh-my-posh` not found after install** — restart the terminal or add the install path to `$PATH`.
  • **Slow prompt** -- enable async rendering by setting `"async": true` at the top level of your config.

Full documentation: <https://ohmyposh.dev/docs> FAQ: <https://ohmyposh.dev/docs/faq>

Read more
Ships withoh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer

Get the whole plugin
Stats
23,532
Stars
2,793
Forks
Active
Maintenance
Go
Language
MIT
License
6h ago
Last commit
7y ago
Created
3h ago
Added

Repo: jandedobbeleer/oh-my-posh