Weather (wttr.in)

Hello Symorian
you can use the code from this post https://dietpi.com/forum/t/tutorial-ascii-weather/1909/1 to add a weather shortcut to your bash.
Then you can just type

weather portneuf-sur-mer

to get the correct weather report.

To hardcode it to just that location then you can use the following code instead

echo -e "\nfunction weather()\n{\nif [ \$COLUMNS -lt 125 ]\nthen\n  curl wttr.in/\portneuf-sur-mer?2n\nelse\n  curl wttr.in/\portneuf-sur-mer\nfi\n}" >> ~/.bashrc && source ~/.bashrc