summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-03 11:01:23 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-03 11:01:23 +0000
commit818c8db9042da76967021a76213492d6c9722f83 (patch)
tree02eb088dacc6a75349ed7062e6906a789168ba90 /Completion/Base
parent34048139f90a543f4c1d49c5ff1f49cd3b39720a (diff)
downloadzsh-818c8db9042da76967021a76213492d6c9722f83.tar.gz
zsh-818c8db9042da76967021a76213492d6c9722f83.tar.xz
zsh-818c8db9042da76967021a76213492d6c9722f83.zip
zsh-workers:8515
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/_job26
1 files changed, 0 insertions, 26 deletions
diff --git a/Completion/Base/_job b/Completion/Base/_job
deleted file mode 100644
index 081956c51..000000000
--- a/Completion/Base/_job
+++ /dev/null
@@ -1,26 +0,0 @@
-#autoload
-
-local expl disp jobs job jids
-
-if [[ "$1" = -r ]]; then
-  jids=( "${(@k)jobstates[(R)running*]}" )
-  shift
-  _description expl 'running job'
-elif [[ "$1" = -s ]]; then
-  jids=( "${(@k)jobstates[(R)running*]}" )
-  shift
-  _description expl 'suspended job'
-else
-  [[ "$1" = - ]] && shift
-  jids=( "${(@k)jobtexts}" )
-  _description expl job
-fi
-
-disp=()
-jobs=()
-for job in "$jids[@]"; do
-  disp=( "$disp[@]" "[${(l:2:: :)job}] ${jobtexts[$job]}" )
-  jobs=( "$jobs[@]" "$job" )
-done
-
-compadd "$@" "$expl[@]" -ld disp - "$jobs[@]"