typeset -g _cprompts_covid=$(curl -sL https://api.covid19api.com/country/${REPLY:-germany} | jq -e '. |= sort_by (.Date) | .[-1].Active') [ ! -z $_cprompts_covid ] && print ${_cprompts_covid} > $tmpfile