zsh-workers
 help / color / mirror / code / Atom feed
cc7c9adf9f3b6640dd2d959eb750b3e59f7ee5dc blob 899 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
34
35
36
37
38
39
40
 
#autoload +X

local cmd clocale='_comp_locale;' cols='COLUMNS=999' curcontext="${curcontext}"
local -i err_fd=-1
local -a prefix

if [[ "$1" = -p ]]; then
  shift
  if (( $#_comp_priv_prefix )); then
    curcontext="${curcontext%:*}/${${(@M)_comp_priv_prefix:#^*[^\\]=*}[1]}:"
    zstyle -t ":completion:${curcontext}:${1}" gain-privileges &&
	prefix=( $_comp_priv_prefix )
  fi
elif [[ "$1" = -l ]]; then
  shift
  clocale=''
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 cmd; then
  if [[ "$cmd" = -* ]]; then
    eval $clocale $cols "$cmd[2,-1]" "$argv[2,-1]"
  else
    eval $clocale $cols $prefix "$cmd"
  fi
else
  eval $clocale $cols $prefix "$argv[2,-1]"
fi 2>&$err_fd

} always {

exec {err_fd}>&-

}
debug log:

solving cc7c9adf9 ...
found cc7c9adf9 in https://inbox.vuxu.org/zsh-workers/CAHLkEDsLUijwAuZdy=wPok3DkRNH2Ew418R0TS2nPu_E=NqFbQ@mail.gmail.com/
found 73f3ef6d2 in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 73f3ef6d2e327a8ac776a1f183b6281c1908ac46	Completion/Base/Utility/_call_program

applying [1/1] https://inbox.vuxu.org/zsh-workers/CAHLkEDsLUijwAuZdy=wPok3DkRNH2Ew418R0TS2nPu_E=NqFbQ@mail.gmail.com/
diff --git a/Completion/Base/Utility/_call_program b/Completion/Base/Utility/_call_program
index 73f3ef6d2..cc7c9adf9 100644

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

index at:
100644 cc7c9adf9f3b6640dd2d959eb750b3e59f7ee5dc	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).