about summary refs log tree commit diff
path: root/Completion/Rpm/_rpm_build
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-30 10:08:13 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-30 10:08:13 +0000
commit1d6c3eaaa0618d35329495a324c9fd2e7ed9843a (patch)
tree531e2d0e02699b1288ec20a45c0042bf209fb402 /Completion/Rpm/_rpm_build
parente55cf16d1232b54efb80a7861c28cf094eaeedff (diff)
downloadzsh-1d6c3eaaa0618d35329495a324c9fd2e7ed9843a.tar.gz
zsh-1d6c3eaaa0618d35329495a324c9fd2e7ed9843a.tar.xz
zsh-1d6c3eaaa0618d35329495a324c9fd2e7ed9843a.zip
zsh-workers/7533
Diffstat (limited to 'Completion/Rpm/_rpm_build')
-rw-r--r--Completion/Rpm/_rpm_build16
1 files changed, 16 insertions, 0 deletions
diff --git a/Completion/Rpm/_rpm_build b/Completion/Rpm/_rpm_build
new file mode 100644
index 000000000..1702e5d8e
--- /dev/null
+++ b/Completion/Rpm/_rpm_build
@@ -0,0 +1,16 @@
+#autoload
+
+local args
+
+if [[ "$1" = -b ]]; then
+  args='*:RPM package:_rpm_package'
+else
+  args='*:tar file:_files -g \*.\(\#i\)tar\(.\*\|\)'
+fi
+
+_rpm_arguments \
+  --{short-circuit,clean,rmsource,sign,test} \
+  '--buildroot:build root directory:_files -/' \
+  '--buildarch:architecture for which to build:' \
+  '--buildos:ositecture for which to build:' \
+  '--timecheck:time check (seconds):' "$args"