2 ms·
Make it a shell function and you can parameterise invocation. weather () { curl http://wttr.in/${1:-LAX} }
by dredmorbius 6y ago
Make it a shell function and you can parameterise invocation.
weather ()
{
curl http://wttr.in/${1:-LAX}
}