ansiweather

Weather in terminal, with ANSI colors and Unicode symbols
Log | Files | Refs | README | LICENSE

commit 175e04a862429903c17e5653e9fe1eda694354db
parent 98ffc43417505353be8a0d56c88db623915a7e46
Author: Michael Hood <michaelhood@gmail.com>
Date:   Mon, 21 Oct 2013 12:09:09 -0700

Quotes around URL passed to fetch_cmd

Cities with spaces/special characters would cause breakage

Diffstat:
Mansiweather | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansiweather b/ansiweather @@ -67,7 +67,7 @@ rain=$(get_config "rain" || echo "\xe2\x98\x94") fetch_cmd=$(get_config "fetch_cmd" || echo "curl -s") -weather=$($fetch_cmd http://api.openweathermap.org/data/2.5/weather?q=$location\&units=$units) +weather=$($fetch_cmd "http://api.openweathermap.org/data/2.5/weather?q=$location\&units=$units")