browser.zsh: Renamed wetter() → wetter2(), readded the original wetter function

This commit is contained in:
Tobias Schmidl 2020-06-15 07:35:28 +02:00
parent 31448aaad4
commit 4216220c37

View file

@ -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/$@"; }