From f0eaa5713eca5abfdeacabb1a71159456d1e3539 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 18 Aug 2011 12:48:42 +0000 Subject: unposted: move _schedtool to correct dir --- Completion/Zsh/Command/.distfiles | 1 - Completion/Zsh/Command/_schedtool | 25 ------------------------- 2 files changed, 26 deletions(-) delete mode 100644 Completion/Zsh/Command/_schedtool (limited to 'Completion/Zsh') diff --git a/Completion/Zsh/Command/.distfiles b/Completion/Zsh/Command/.distfiles index 3981f74cc..6feec496d 100644 --- a/Completion/Zsh/Command/.distfiles +++ b/Completion/Zsh/Command/.distfiles @@ -23,7 +23,6 @@ _print _prompt _read _sched -_schedtool _set _setopt _source diff --git a/Completion/Zsh/Command/_schedtool b/Completion/Zsh/Command/_schedtool deleted file mode 100644 index 869f146e3..000000000 --- a/Completion/Zsh/Command/_schedtool +++ /dev/null @@ -1,25 +0,0 @@ -#compdef schedtool - -local curcontext="$curcontext" line state ret=1 - -_arguments -C \ - '(-p -F -R -B -I -D -M)-N[for SCHED_NORMAL]' \ - '( -N -R -B -I -D -M)-F[for SCHED_FIFO]' \ - '( -N -F -B -I -D -M)-R[for SCHED_RR]' \ - '(-p -N -F -R -I -D -M)-B[for SCHED_BATCH]' \ - '( -N -F -R -B -D -M)-I[for SCHED_ISO]' \ - '(-p -N -F -R -B -I -M)-D[for SCHED_IDLEPRIO]' \ - '( -N -F -R -B -I -D )-M[for manual mode; raw number for POLICY]:raw policy number' \ - '( -N -B -D )-p[usually 1-99; only for FIFO, RR or ISO]:static priority' \ - '-a[cpu affinity]:mask or list' \ - '-n[set niceness to NICE_LEVEL]:priority' \ - '-e[start COMMAND with specified policy/priority]:program: _command_names -e:*::program arguments: _normal' \ - '-v[be verbose]' \ - '*:processes:->processes' && ret=0 - -if [[ -n "$state" ]]; then - _alternative \ - 'processes:: _pids' && ret=0 -fi - -return ret -- cgit 1.4.1