about summary refs log tree commit diff
path: root/Completion/Linux/Command/_ionice
blob: a3d49ec9994ebfa9e0b3efb72c27cdf92c88a57a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#compdef ionice

_arguments \
  '(* -)-h[display usage information]' \
  '(*)-p[interpret args as process ID]:pid:_pids' \
  '-c+[scheduling class]:class:(( 1\:realtime 2\:best-effort 3\:idle ))' \
  '-n+[scheduling class priority]:class-priority:((
    0\:high\ priority
    {6..1}\:
    7\:low\ priority
  ))' \
  '*::command:_normal'