wetter alias: use v2 of wttr.in
This commit is contained in:
parent
6270eb6275
commit
1513fa5d3e
1 changed files with 1 additions and 1 deletions
|
@ -2,4 +2,4 @@ function duckduck() { elinks -dump "https://duckduckgo.com/?q=`escape "$@"`"; }
|
||||||
function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; }
|
function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; }
|
||||||
function google() { elinks -dump "https://www.google.de/search?q=`escape "$@"`"; }
|
function google() { elinks -dump "https://www.google.de/search?q=`escape "$@"`"; }
|
||||||
|
|
||||||
function wetter() { curl -H "Accept-Language: ${LANG%_*}" "https://wttr.in/$@"; }
|
function wetter() { curl -H "Accept-Language: ${LANG%_*}" "https://v2.wttr.in/$@"; }
|
||||||
|
|
Loading…
Reference in a new issue