mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 20:35:11 +01:00
ansiweather is just great
This commit is contained in:
@@ -108,7 +108,8 @@ alias updatecalibre='sudo -v && wget -nv -O- https://raw.githubusercontent.com/k
|
||||
alias checkdns='watch -n1 dig '
|
||||
|
||||
#weather(){ curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-<YOURZIPORLOCATION>}"|perl -ne '/<title>([^<]+)/&&printf "%s: ",$1;/<fcttext>([^<]+)/&&print $1,"\n"';}
|
||||
weather(){ curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-Amsterdam}"|perl -ne '/<title>([^<]+)/&&printf "%s: ",$1;/<fcttext>([^<]+)/&&print $1,"\n"';}
|
||||
#weather(){ curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-Amsterdam}"|perl -ne '/<title>([^<]+)/&&printf "%s: ",$1;/<fcttext>([^<]+)/&&print $1,"\n"';}
|
||||
alias weather='ansiweather'
|
||||
|
||||
alias pypi_up='python setup.py register sdist --formats=zip upload'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user