Skip to content

Commit

Permalink
Merge pull request #54 from agordon/feature/min_max
Browse files Browse the repository at this point in the history
Support SPARK_MIN/SPARK_MAX env variables.
  • Loading branch information
holman committed Dec 22, 2014
2 parents 9832447 + 663fb3b commit 8be844e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spark
Expand Up @@ -55,6 +55,9 @@ spark()
numbers=$numbers${numbers:+ }$n
done

[ -n "$SPARK_MIN" ] && min=$SPARK_MIN
[ -n "$SPARK_MAX" ] && max=$SPARK_MAX

# print ticks
local ticks=(▁ ▂ ▃ ▄ ▅ ▆ ▇ █)

Expand Down

0 comments on commit 8be844e

Please sign in to comment.