github JanDeDobbeleer/oh-my-posh v30.0.0

8 hours ago

Bug Fixes

  • battery: add illumos/solaris support to fix cross-compile failure (de41b29), closes #7730

  • cache: explicitly bump session file mtime on persist (e4a1c37), closes #7340

  • cli: remove stale migrate mention from config --help (43b4cb3), closes #7734

  • config: render a data-only segment the way a writer would (0116798)

  • data: render a segment the same with or without its writer (47f2228)

  • shell/pwsh: use empty string for CONDA_PROMPT_MODIFIER (ed38295), closes #7733

  • svg: change studio render based on mode (f6793cb)

  • svg: remove extra blank line before watermark (d7caf75)

  • svg: render colors correctly (267f672)

  • themes: spell out the templates 11 themes left implicit (fea0d08)

  • refactor(cli)!: give fonts a list and an install command (3b63012)

  • feat(cli)!: export a config to SVG instead of PNG (59e8d08)

Features

  • cli: add --background-color flag to export image (5c877b6)
  • cli: add a terminal UI that a prompt engine can afford (20373f8)
  • cli: record what a segment's methods return (bc907fb)
  • config: leave the segment implementations out of the browser build (7969803)
  • render: render a config without the machine (264f6d3)
  • studio: add Download PNG button (8528d35)
  • svg: replace macOS traffic lights with WT-style chrome (76ae543)
  • terminal: record the prompt as styled runs (6de79cd)
  • website: live-reload themes and wasm during local dev (48d6685)
  • website: rebuild the docs around a catalog and a studio (585f50a)
  • website: render the site's artifacts without spawning the CLI (5c83ffa)
  • website: switch homepage hero svg with site theme (73bda68)

Performance Improvements

  • terminal: count cells without go-runewidth (dc52809)

BREAKING CHANGES

  • oh-my-posh font install now requires a font name; run
    oh-my-posh font list to see them. The interactive picker is gone, and
    with it the --headless flag, which existed to skip it.

Entire-Checkpoint: ef231d69c9bf

  • oh-my-posh config export image writes SVG only. The
    --author, --background-color, --cursor-padding, --rprompt-offset
    and --settings flags are gone, as is PNG output; a command line using
    them now fails rather than quietly producing something different.

Entire-Checkpoint: f6059ae8893a

Don't miss a new oh-my-posh release

NewReleases is sending notifications on new releases.