Another way would be:
weather() { curl http://wttr\.in/$1 }
So you can now use just your city as paramter: weather Ansbach
weather Ansbach
Another way would be:
So you can now use just your city as paramter:
weather Ansbach