| Server IP : 74.208.236.52 / Your IP : 216.73.216.240 Web Server : Apache System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64 User : u44043973 ( 5404757) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/usr/share/zsh/functions/Completion/Zsh/ |
Upload File : |
#compdef ztodo
_ztodo_entries() {
local -a entries
entries=(${${${${(f)"$(_call_program ztodo-entry ztodo list)"}#[[:space:]]##}/:[[:space:]]##/:}%:[[:space:]]#})
_describe -t ztodo-entry 'todo entry' entries "$@"
}
local -a args reply
args=(
/$'[^\0]#\0'/
)
local -a todo_entry
todo_entry=(
/$'[^\0]#\0'/ ':ztodo-entry:todo entry:_ztodo_entries'
)
_regex_words \
commands "ztodo command" \
'add:add entry' \
'del:delete entry:$todo_entry' \
'clear:clear todo list' \
'list:show todo list'
args+=("$reply[@]")
_regex_arguments _ztodo "${args[@]}"
_ztodo "$@"