zsh-workers
 help / color / mirror / code / Atom feed
cbdac8caefeb2faf30659ca9e1a0bec8159d63dd blob 424 bytes (raw)

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

if [[ $CURRENT = 2 ]]; then
  _message -e priority
else
  local opts ret=1
  opts=(
    '-g:interpret args as process group IDs'
    '-u:interpret args as user names'
    '-p:interpret args as process IDs'
  )
  _describe -o option opts && ret=0

  case ${(v)words[(I)-?]} in
    -g) _message -e pgids 'process group ID' && ret=0 ;;
    -u) _users && ret=0 ;;
    *)  _pids && ret=0;;
  esac
fi

return ret
debug log:

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