diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 6e25ad0c..0153b077 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -5262,8 +5262,8 @@ function _p9k_taskwarrior_init_data() { if (( _p9k_taskwarrior_counters[PENDING] > _p9k_taskwarrior_counters[OVERDUE] )); then local -a ts - ts=($(command task +PENDING -OVERDUE list rc.verbose=nothing rc.color=0 rc._forcecolor=0 \ - rc.report.list.labels= rc.report.list.columns=due.epoch /dev/null)) || ts=() + ts=$(command task +PENDING -OVERDUE list rc.verbose=nothing rc.color=0 rc._forcecolor=0 \ + rc.report.list.labels= rc.report.list.columns=due.epoch /dev/null) || ts=() if (( $#ts )); then _p9k_taskwarrior_next_due=${${(on)ts}[1]} (( _p9k_taskwarrior_next_due > EPOCHSECONDS )) || _p9k_taskwarrior_next_due=$((EPOCHSECONDS+60))