zsh-workers
 help / color / mirror / code / Atom feed
24a016af48e5b6ecfb62103c5a287be9ac4e00ff blob 444 bytes (raw)

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

local curcontext="$curcontext" state line expl ret=1
typeset -A opt_args

_arguments -C -s \
  '-t+[termination character]:termination character:' \
  '-f[case insensitive]' \
  '-d[dictionary order]' \
  ':string:->string' \
  ':dictionary file:_files' && ret=0

[[ -n "$state" && ! -prefix - ]] && _wanted values expl 'word prefix' \
    compadd - $(_call_program words $words[1] '"$PREFIX"' 2>/dev/null) && return

return ret
debug log:

solving 24a016a ...
found 24a016a 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).