Add (visual) weather-fetching function
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 3 Apr 2019 11:16:36 +0000 (07:16 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 3 Apr 2019 11:16:36 +0000 (07:16 -0400)
lib/login_functions.sh

index d0f480b..ba0940a 100644 (file)
@@ -63,3 +63,7 @@ gh_clone_user() {
 gh_clone_org() {
     gh_clone 'orgs' "$1"
 }
+
+weather() {
+    curl "http://wttr.in/$WEATHER_LOCATION"
+}
This page took 0.02629 seconds and 4 git commands to generate.