Comment

Comment by mimimi31

You could do something like this

  w () {
    curl -s "wttr.in/${*// /+}"
  }
to make it work with places that have spaces in their name. E.g.

  w new york
parent mimimi31 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton