~tardypad/dotfiles

ref: b05d2c44bacbdda1a7a05ab02fbac002eaf5abd9 dotfiles/files/configs/zsh/completions/_task-log -rw-r--r-- 171 bytes
b05d2c44 — Damien Tardy-Panis Allow logging of a task on a given day 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#compdef task-log

local logging_dir="${XDG_DATA_HOME:-$HOME/.local/share}/time-tracker/logs"

_days() {
  _path_files -W "${logging_dir}"
}

_arguments \
  '1:day:_days'