zsh-workers
 help / color / mirror / code / Atom feed
888708684dcb40b449bae2e6600ea2aaa8ea3e0b blob 466 bytes (raw)

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

local expl lines disp

if [[ CURRENT -eq 2 ]]; then
  if compset -P -; then
    lines=(${(f)"$(sched)"})
    if zstyle -T ":completion:${curcontext}:jobs" verbose; then
      disp=( -ld lines )
    else
      disp=()
    fi
    [[ -z $lines ]] || _wanted jobs expl 'scheduled job' \
                           compadd "$disp[@]" - {1..$#lines}
    return
  else
    _message -e times 'time specification'
    return 1
  fi
fi
compset -n 3 && _normal
debug log:

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