zsh-workers
 help / color / mirror / code / Atom feed
c997bde8b900464c436a630c4c3cd822ae30c1fc blob 312 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 random)

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 c997bde8b ...
found c997bde8b in https://inbox.vuxu.org/zsh-workers/5be719d0-15b7-44ed-ac3c-61cb06357d51@zentaur.org/ ||
	https://inbox.vuxu.org/zsh-workers/5be719d0-15b7-44ed-ac3c-61cb06357d51@zentaur.org/
found 5044bdf4c in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 5044bdf4c7318d49e077fe5fcaf4a07e34a88741	Completion/Zsh/Type/_module_math_func

applying [1/2] https://inbox.vuxu.org/zsh-workers/5be719d0-15b7-44ed-ac3c-61cb06357d51@zentaur.org/
index 5044bdf4c..c997bde8b 100644

Checking patch Completion/Zsh/Type/_module_math_func...
error: while searching for:

 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:} )

error: patch failed: Completion/Zsh/Type/_module_math_func:2
error: Completion/Zsh/Type/_module_math_func: patch does not apply

git apply error: exit status=1
trying https://inbox.vuxu.org/zsh-workers/5be719d0-15b7-44ed-ac3c-61cb06357d51@zentaur.org/

applying [2/2] https://inbox.vuxu.org/zsh-workers/5be719d0-15b7-44ed-ac3c-61cb06357d51@zentaur.org/
diff --git a/Completion/Zsh/Type/_module_math_func b/Completion/Zsh/Type/_module_math_func
index 5044bdf4c..c997bde8b 100644

Checking patch Completion/Zsh/Type/_module_math_func...
Applied patch Completion/Zsh/Type/_module_math_func cleanly.

index at:
100644 c997bde8b900464c436a630c4c3cd822ae30c1fc	Completion/Zsh/Type/_module_math_func

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).