summaryrefslogtreecommitdiff
path: root/nws
diff options
context:
space:
mode:
Diffstat (limited to 'nws')
-rwxr-xr-xnws1
1 files changed, 1 insertions, 0 deletions
diff --git a/nws b/nws
index 96aa01e..12a5d3a 100755
--- a/nws
+++ b/nws
@@ -68,6 +68,7 @@ esac
show_alerts() {
colors
+ cleanup
curl -s "https://api.weather.gov/alerts/active/zone/${countyId}" >> ~/.cache/.weather_alerts
length=$(echo $(jq '.features | length' ~/.cache/.weather_alerts) -1 | bc)
count=0