zsh-workers
 help / color / mirror / code / Atom feed
f19ae29e4a1af24511cbf1e5a464651335a48da6 blob 468 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
#compdef jexec

_jexec_normal() {
  local PATH=$PATH
  # relative paths are relative to the jail's root
  path=( "$(command jls -j $words[1] path)"/$^path )
  shift 1 words; (( CURRENT-- ))
  _normal
}

_jexec() {
  _arguments -s -w -A "-*" : \
    '(-U)-u[host environment user whom command runs as]:host user:_users' \
    '(-u)-U[jail environment user whom command runs as]:jail user:_users' \
    '1:jail:_jails -o name' \
    '*:: : _jexec_normal'
}

_jexec "$@"
debug log:

solving f19ae29 ...
found f19ae29 in https://inbox.vuxu.org/zsh-workers/55503F0A.9060303@gmx.com/
found f065ea1 in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 f065ea1e0aef3dc0e560f871b637def9ef376da0	Completion/BSD/Command/_jexec

applying [1/1] https://inbox.vuxu.org/zsh-workers/55503F0A.9060303@gmx.com/
diff --git a/Completion/BSD/Command/_jexec b/Completion/BSD/Command/_jexec
index f065ea1..f19ae29 100644

Checking patch Completion/BSD/Command/_jexec...
Applied patch Completion/BSD/Command/_jexec cleanly.

index at:
100644 f19ae29e4a1af24511cbf1e5a464651335a48da6	Completion/BSD/Command/_jexec

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