From 4216220c3773785d495032a0977672c29e998df7 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Mon, 15 Jun 2020 07:35:28 +0200 Subject: [PATCH] =?UTF-8?q?browser.zsh:=20Renamed=20wetter()=20=E2=86=92?= =?UTF-8?q?=20wetter2(),=20readded=20the=20original=20wetter=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- browser.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser.zsh b/browser.zsh index cf39243..716d506 100644 --- a/browser.zsh +++ b/browser.zsh @@ -2,4 +2,5 @@ function duckduck() { elinks -dump "https://duckduckgo.com/?q=`escape "$@"`"; } function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; } function google() { elinks -dump "https://www.google.de/search?q=`escape "$@"`"; } -function wetter() { curl --tr-encoding -H "Accept-Language: ${LANG%_*}" "https://v2.wttr.in/$@"; } +function wetter() { curl --tr-encoding -H "Accept-Language: ${LANG%_*}" "https://wttr.in/$@"; } +function wetter2() { curl --tr-encoding -H "Accept-Language: ${LANG%_*}" "https://v2.wttr.in/$@"; }