ansiweather

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

commit 2e7b02ece0989196ae10f97a28146374d86feaad
parent 727eb2b062caae14363290b0eeb2723dcc450010
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Sat, 11 Jan 2014 11:43:34 -0800

Merge pull request #42 from royhodgman/doc

small documentation changes
Diffstat:
MREADME.md | 6++++++
Mansiweather | 2+-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -75,18 +75,24 @@ Example : `ftp -V -o -` fetch_cmd:ftp -V -o - +Default: `curl -s` + ### System of Units Both `metric` and `imperial` systems are supported. units:metric +Default: `metric` + ### Display symbols Toggle Unicode symbols display. Value can be either `true` or `false` (requires an Unicode capable display). symbols:true +Default: `true` + ### Display forecast Show upcoming forecast for the next `N` days (for 0 <= N <= 7). `0` will show standard output. diff --git a/ansiweather b/ansiweather @@ -77,7 +77,7 @@ function auto_locate { # Location : example "Moscow,RU" location=$(get_config "location" || auto_locate || echo "Moscow,RU") -#check and replace spaces for curl requests +# check and replace spaces for curl requests location=$( printf "%s\n" "$location" | sed 's/ /%20/g' ) # System of Units : "metric" or "imperial"