blob: 24ff7dc3e291377c2b4e30519abe4491350d11ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#compdef strftime
local ret=1 expl
_arguments -S -A '-*' -s \
'-q[run quietly]' \
'-r[reverse lookup using strptime]' \
'-s+[assign result to parameter]:param:_parameters' \
'1:format: _date_formats zsh' \
'2:epoch time (or date string with -r)' && ret=0
return ret
|