From e09a8d5a855d5ba947be8bb203737c0e5949554e Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Wed, 3 Apr 2019 07:16:36 -0400 Subject: [PATCH] Add (visual) weather-fetching function --- lib/login_functions.sh | 4 ++++ 1 file changed, 4 insertions(+) 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" +} -- 2.20.1