ansiweather

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

commit 727eb2b062caae14363290b0eeb2723dcc450010
parent a00bd06c9cfe110382b429cf913616ca65524853
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Sat, 28 Dec 2013 02:36:30 -0800

Merge pull request #40 from livibetter/fix-ampersand

fix incorrectly escaping ampersand
Diffstat:
Mansiweather | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansiweather b/ansiweather @@ -138,7 +138,7 @@ thunderstorm=$(get_config "thunderstorm" || echo "\xe2\x9a\xa1") fetch_cmd=$(get_config "fetch_cmd" || echo "curl -s") api_cmd=$([[ $forecast != 0 ]] && echo "forecast/daily" || echo "weather") -weather=$($fetch_cmd "http://api.openweathermap.org/data/2.5/$api_cmd?q=$location\&units=$units") +weather=$($fetch_cmd "http://api.openweathermap.org/data/2.5/$api_cmd?q=$location&units=$units") if [ -z "$weather" ] then