From: Siraaj Khandkar Date: Wed, 3 Apr 2019 11:16:36 +0000 (-0400) Subject: Add (visual) weather-fetching function X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=e09a8d5a855d5ba947be8bb203737c0e5949554e;p=khome.git Add (visual) weather-fetching function --- diff --git a/lib/login_functions.sh b/lib/login_functions.sh index d0f480b..ba0940a 100644 --- a/lib/login_functions.sh +++ b/lib/login_functions.sh @@ -63,3 +63,7 @@ gh_clone_user() { gh_clone_org() { gh_clone 'orgs' "$1" } + +weather() { + curl "http://wttr.in/$WEATHER_LOCATION" +}