zsh-workers
 help / color / mirror / code / Atom feed
f61180ab2736ed93ad5ae471b4b068aa831b1f86 blob 606 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
29
30
31
32
33
 
#autoload +X

local tmp err_fd=-1
local -a prefix

if [[ "$1" = -p ]]; then
  shift
  zstyle -T ":completion:${curcontext}:${1}" gain-privs &&
      prefix=( $_comp_priv_prefix )
fi

if (( ${debug_fd:--1} > 2 )) || [[ ! -t 2 ]]
then exec {err_fd}>&2	# debug_fd is saved stderr, 2 is trace or redirect
else exec {err_fd}>/dev/null
fi

{	# Begin "always" block

if zstyle -s ":completion:${curcontext}:${1}" command tmp; then
  if [[ "$tmp" = -* ]]; then
    eval "$tmp[2,-1]" "$argv[2,-1]"
  else
    eval $prefix "$tmp"
  fi
else
  eval $prefix "$argv[2,-1]"
fi 2>&$err_fd

} always {

exec {err_fd}>&-

}
debug log:

solving f61180a ...
found f61180a in https://inbox.vuxu.org/zsh-workers/12554.1472678120@hydra.kiddle.eu/
found 010e094 in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 010e0947659b0e44dc56bcfeb56ab9df0c5ef284	Completion/Base/Utility/_call_program

applying [1/1] https://inbox.vuxu.org/zsh-workers/12554.1472678120@hydra.kiddle.eu/
diff --git a/Completion/Base/Utility/_call_program b/Completion/Base/Utility/_call_program
index 010e094..f61180a 100644

Checking patch Completion/Base/Utility/_call_program...
Applied patch Completion/Base/Utility/_call_program cleanly.

index at:
100644 f61180ab2736ed93ad5ae471b4b068aa831b1f86	Completion/Base/Utility/_call_program

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