From 8e9c466d2769d4ca2ea9dcfb17f62027955f6fd4 Mon Sep 17 00:00:00 2001 From: TheK4n Date: Tue, 9 Aug 2022 22:12:51 +0300 Subject: [PATCH] bash: alias weather --- sub/bash/aliases | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sub/bash/aliases b/sub/bash/aliases index eb2e377..d551e6c 100644 --- a/sub/bash/aliases +++ b/sub/bash/aliases @@ -62,7 +62,8 @@ alias ports='ss -tlnp' alias wget='wget -c' alias ping='ping -c 5' alias myip='curl ipinfo.io/ip' -alias sprunge='curl -F "sprunge=<-" http://sprunge.us 2>/dev/null' +alias sprunge='curl -F "sprunge=<-" http://sprunge.us 2>/dev/null' # CLI pastebin +alias weather='curl -4 wttr.in/$(cat) 2>/dev/null | head -n -1' # weather by city, gets city from stdin # starts web server alias www='python3 -m http.server 8000'