JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
17.51k stars 2.4k forks source link

upgrade message when there is a major release #5883

Closed ffes closed 1 week ago

ffes commented 1 week ago

Code of Conduct

What would you like to see changed?

Today I saw this message when I started my terminal:

A new release of Oh My Posh is available: v23.20.3 → v24.3.0
To upgrade, run: 'oh-my-posh upgrade'

To enable automated upgrades, run: 'oh-my-posh enable autoupgrade'.

But when I entered that command I got the message:

🚨 major upgrade available: v23.20.3 -> v24.3.0, use oh-my-posh upgrade --force to upgrade

I would be very useful to show this extra line shown immediately.