Stuffing a three days weather report into $PS1 might be to much information for a prompt.
But I don't. I may steal this idea later, than there would be a whole 2 of us!
I have also started adding a time stamp to the second, so that when I run long commands and come back later in a tmux session I can see when it finished.
There's a method that takes 0 space: just change the color of the prompt symbol depending on the weather status (sunny, cloudy, raining, snowing).
invoke-restmethod wttr.in/?format=4
…and I think it was quite compact
Now, I don't know if anyone truly needs the weather in their terminal prompt, but it is doable.
This might be useful for temperature, humidity, wind, preciptitation, and similar measures, either as quantities or timelines.
https://en.wikipedia.org/wiki/Sparkline
https://github.com/deeplook/sparklines
Similar:
https://www.linux-magazine.com/Issues/2016/183/Calc-Conditio...
see the readme here for all options:
didn’t this really come up when MS was designing PowerShell?