3 ms·I had the same thought; this is in my shell RC: alias weather='f() { curl wttr.in/${1:-sydney} };f'by devjam 4y agoI had the same thought; this is in my shell RC: alias weather='f() { curl wttr.in/${1:-sydney} };f'anthk 4y agoecho yourcity | nc graph.no 79 or finger yourcity@graph.non8henrie 4y agoInteresting -- why do you define an alias that defines and then immediately calls a function instead of just defining `weather` as the function itself?