zsh-workers
 help / color / mirror / code / Atom feed
5044bdf4c7318d49e077fe5fcaf4a07e34a88741 blob 306 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#autoload

local mod
local -a funcs alts
local -a modules=( example mathfunc system )

for mod in $modules; do
  funcs=( ${${${(f)"$(zmodload -Fl zsh/$mod 2>/dev/null)"}:#^+f:*}##+f:} )
  alts+=( "module-math-functions.${mod}:math function from zsh/${mod}:compadd -S '(' $funcs" )
done

_alternative $alts
debug log:

solving 5044bdf4c ...
found 5044bdf4c 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).