From 1d6c3eaaa0618d35329495a324c9fd2e7ed9843a Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 30 Aug 1999 10:08:13 +0000 Subject: zsh-workers/7533 --- Completion/Rpm/_rpm_build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Completion/Rpm/_rpm_build (limited to 'Completion/Rpm/_rpm_build') 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" -- cgit 1.4.1