Oh My Posh Custom Theme

An Ultra-Clean, Premium
Minimal Prompt Theme

A highly optimized multi-line layout featuring smart balanced folder depth truncation, cross-platform OS detection, and zero screen clutter.

Windows PowerShell (CMD)
 ~\Development\powermini
at  01:30:28 AM
On branch main
Your branch is up to date with 'origin/main'.
nothing to commit, working tree clean
|

✨ Premium Features

Designed for power-users who value speed, accuracy, and clear terminal screens.

Minimal Footprint

Uses a distraction-free multi-line prompt ending in a single chevron. Out-of-the-box configuration for transient prompts hides previous command blocks on run.

Cross-Platform OS Icons

Built-in logic automatically queries the host operating system, displaying custom environment glyphs natively. Windows, macOS, Linux

Cross-Platform Slashes

Path directories dynamically render with native OS format separators (backslashes on Windows, forward slashes on macOS and Linux) automatically.

Balanced Directory Separation

Leverages custom properties with max_depth: 2 and an elegant ... truncation system to ensure long paths remain clean and brief.

🚀 Installation Guide

Pick your preferred shell below to apply the PowerMini prompt theme.

  1. 1 Open your PowerShell Profile

    Run this command inside PowerShell to open your profile script in Notepad:

    PowerShell
    notepad $PROFILE
  2. 2 Add the Initialization Hook

    Paste the following line at the bottom of the script file and save it:

    PowerShell Profile
    oh-my-posh init pwsh --config "C:\path\to\your\powermini.omp.json" | Invoke-Expression

    💡 Ensure you update the path string to point to your local theme JSON file.

  1. 1 Inject into shell configuration

    Depending on whether you use Bash or Zsh, append the setup line to your config file:

    Bash / Zsh (~/.bashrc or ~/.zshrc)
    # For Bash:
    eval "$(oh-my-posh init bash --config /path/to/your/powermini.omp.json)"
    
    # For Zsh:
    eval "$(oh-my-posh init zsh --config /path/to/your/powermini.omp.json)"
  2. 2 Source your changes

    Run source ~/.bashrc or source ~/.zshrc to load the changes instantly.