github JanDeDobbeleer/oh-my-posh v25.0.0

11 hours ago

Bug Fixes

Features

  • git: replace branch properties with template (28f6c19)
  • regex: expose findP (88628e0)
  • segment: add timeout (17910fa)
  • segments: add bun.lock file support for bun v1.2+ (8178872)
  • template: add global Version property (93649ab)

BREAKING CHANGES

  • git: this removes branch properties from the git segment
    and replaces them with a single template. To migrate, use the following
    guide.

branch_max_length

"branch_max_length": 5 -> "branch_template": "{{ trunc 5 .Branch }}"

This will turn feature/test-this-branch into featu

If you want to display a truncate symbol at the end of the branch name:

"branch_template": "{{ truncE 5 .Branch }}"

This will turn feature/test-this-branch into feat…

full_branch_path

"full_branch_path": false -> "branch_template": "{{ base .Branch }}"

This will turn feature/test-this-branch into test-this-branch

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

NewReleases is sending notifications on new releases.