From e060a9ef6d5f40b90bf64fed3b05c39e1f86104a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 6 Oct 2019 21:36:59 +0200 Subject: [PATCH] [ADD][SHELL] Display the weather with 'meteo' --- shell/.functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/.functions b/shell/.functions index 4f527cf..85a4036 100644 --- a/shell/.functions +++ b/shell/.functions @@ -55,3 +55,7 @@ function mcd() { cd "$1" } +# Weather in your terminal, optionally take the city in argument (e.g: VPN) +function meteo() { + curl "http://wttr.in/$1" # Bonus: try to see the weather on 'moon' +}