about summary refs log tree commit diff
path: root/Completion/Rpm/_rpm
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-30 10:08:37 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-30 10:08:37 +0000
commitc8236cdb4906e9e3acc3bd160f810f50fc5d985e (patch)
tree65b430b26ef7e491c73788c1790cf95661ff6342 /Completion/Rpm/_rpm
parentd335ab27a7b0a6926e9d211ca22fd1f065fd258a (diff)
downloadzsh-c8236cdb4906e9e3acc3bd160f810f50fc5d985e.tar.gz
zsh-c8236cdb4906e9e3acc3bd160f810f50fc5d985e.tar.xz
zsh-c8236cdb4906e9e3acc3bd160f810f50fc5d985e.zip
Initial revision
Diffstat (limited to 'Completion/Rpm/_rpm')
-rw-r--r--Completion/Rpm/_rpm15
1 files changed, 15 insertions, 0 deletions
diff --git a/Completion/Rpm/_rpm b/Completion/Rpm/_rpm
new file mode 100644
index 000000000..4a64bbfbb
--- /dev/null
+++ b/Completion/Rpm/_rpm
@@ -0,0 +1,15 @@
+#compdef rpm
+
+_rpm_arguments \
+  '-q:*:query: _rpm_query' \
+  -{V,y,-{setperms,setugids,querytags,initdb,showrc}} \
+  '-pipe:*:pipe command:_command_names -e' \
+  '--verify:*:verify: _rpm_verify' \
+  -{i,-install}':*:install: _rpm_install' \
+  -{U,-upgrade}':*:upgrade: _rpm_upgrade' \
+  -{e,-erase}':*:uninstall: _rpm_uninstall' \
+  -'b+:build stage:((p\:execute\ \%prep\ stage l\:do\ a\ list\ check c\:execute\ build\ stage i\:execute\ install\ stage b\:build\ a\ binary\ package a\:build\ binary\ and\ source\ packages)):*:build: _rpm_build -b' \
+  -'t+:build stage:((p\:execute\ \%prep\ stage l\:do\ a\ list\ check c\:execute\ build\ stage i\:execute\ install\ stage b\:build\ a\ binary\ package a\:build\ binary\ and\ source\ packages)):*:build: _rpm_build -t' \
+  --{rebuild,rmsource,recompile,resign,addsign}':*:RPM package: _rpm_package' \
+  -{K,-checksig}':*:sigcheck: _rpm_sigcheck' \
+  '--rebuilddb:*:rebuild: _rpm_rebuild'