zsh-workers
 help / color / mirror / code / Atom feed
19e73811ce17e9b97887fff5c081f008082944c5 blob 535 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
#compdef cowsay cowthink

local context state line
typeset -A opt_args

_arguments \
  '-e:eye string:' \
  '-f:cowfile:->cowfile' \
  '-T:tongue string:' \
  '-W:wrap column:' \
  '-b[borg mode]' \
  '-d[dead mode]' \
  '-g[greedy mode]' \
  '-h[help]' \
  '-l[list]' \
  '-n[no wordwrap]' \
  '-p[paranoia mode]' \
  '-s[stoned mode]' \
  '-t[tired mode]' \
  '-w[wired mode]' \
  '-y[youthful mode]' \
  ':message:' && return 0

case "$state" in
  (cowfile)
  compadd ${=${(f)"$($service -l 2>/dev/null)"}:#*\:} || _files
  ;;
esac
debug log:

solving 19e73811c ...
found 19e73811c 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).