about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_jobs_builtin
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-04-11 21:47:17 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-04-11 21:47:17 +0000
commit5c380d5edecd08c6a95c37368df4ea67bd6cc0fa (patch)
tree9a8342e23a67fee7a2949ecb70fed4a997ae1492 /Completion/Zsh/Command/_jobs_builtin
parent80316c893f33aede03a158e1cb8cc257e034b3fe (diff)
downloadzsh-5c380d5edecd08c6a95c37368df4ea67bd6cc0fa.tar.gz
zsh-5c380d5edecd08c6a95c37368df4ea67bd6cc0fa.tar.xz
zsh-5c380d5edecd08c6a95c37368df4ea67bd6cc0fa.zip
add _arguments based completion for alias and jobs (13947)
Diffstat (limited to 'Completion/Zsh/Command/_jobs_builtin')
-rw-r--r--Completion/Zsh/Command/_jobs_builtin10
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_jobs_builtin b/Completion/Zsh/Command/_jobs_builtin
new file mode 100644
index 000000000..39ddb8a45
--- /dev/null
+++ b/Completion/Zsh/Command/_jobs_builtin
@@ -0,0 +1,10 @@
+#compdef jobs
+
+_arguments -C -s \
+  "(-d -l -p -r -s *)-Z[specify string to replace shell's argument and environment with]:string" \
+  '(-Z)-d[show directory from which to job was started]' \
+  '(-Z)-l[list process IDs]' \
+  '(-Z)-p[list process groups]' \
+  '(-Z -s)-r[list only running jobs]' \
+  '(-Z -r)-s[list only stopped jobs]' \
+  '(-Z)*::job:_jobs'