Hacker News new | ask | show | jobs
by narven 2182 days ago
perfect command for a bash alias

alias godstatus='curl wttr.in'

1 comments

Make it a shell function and you can parameterise invocation.

    weather () 
    { 
        curl http://wttr.in/${1:-LAX}
    }