zsh-workers
 help / color / mirror / code / Atom feed
a57a76ce440c7057521feab9a0db5a1f0dcc85b4 blob 347 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#compdef strftime

local expl two='epoch time'

if (( words[(I)-r] )); then
  two='date string'
fi

_arguments -S -A '-*' -s \
  '-n[omit trailing newline]' \
  '-q[run quietly]' \
  '(3)-r[reverse lookup using strptime]' \
  '-s+[assign result to parameter]:param:_parameters' \
  '1:format: _date_formats zsh' \
  "2:$two" \
  '3:nanoseconds' \
debug log:

solving a57a76ce44 ...
found a57a76ce44 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).