From d6a467d64e946abc8c5206154a114ed60846a609 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 16 May 2023 12:42:14 -0500 Subject: [PATCH] update weather with a default --- home/private_dot_config/zsh/functions/weather | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home/private_dot_config/zsh/functions/weather b/home/private_dot_config/zsh/functions/weather index 99e466b..6dd89cd 100644 --- a/home/private_dot_config/zsh/functions/weather +++ b/home/private_dot_config/zsh/functions/weather @@ -1,3 +1,5 @@ #!/bin/zsh -# What is the weather? -curl "http://wttr.in/$1" +##? What is the weather? +##? defaults to showing Austin, Tx + +curl "http://wttr.in/${1:-Austin,Tx}"