JanDeDobbeleer / oh-my-posh

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

Disabling update checks from the configuration file #4902

Closed JeremieRodon closed 1 month ago

JeremieRodon commented 1 month ago

Code of Conduct

What would you like to see changed/added?

First of all, thank you for an amazing and dynamic prompt. I love it!

I would like to disable the automatic update checks feature. As I'm using NixOS, ideally I want to do it in a declarative manner.

It seems to me the best option would be a new General setting for it in the configuration file. Name: disable_update_checks Type: boolean Description: disable checking automatically for new versions of Oh My Posh.

That being said, I would be happy with any other declarative approach.

PS: I'm aware of oh-my-posh disable notice and I will add it in my Bashrc to fix my problem, but I still feel it would be a welcomed, if not expected, option: not everyone enjoys having processes unexpectedly polling the network behind the scene.