CHips L MINI SHELL

CHips L pro

Current Path : /usr/share/zsh/4.3.11/functions/
Upload File :
Current File : //usr/share/zsh/4.3.11/functions/_sched

#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 jobs' \
                           compadd "$disp[@]" - {1..$#lines}
    return
  else
    _message -e times 'time specification'
    return 1
  fi
fi
compset -n 3 && _normal

Copyright 2K16 - 2K18 Indonesian Hacker Rulez