about summary refs log tree commit diff
path: root/Completion/Rpm/_rpm_package
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Rpm/_rpm_package')
-rw-r--r--Completion/Rpm/_rpm_package6
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/Rpm/_rpm_package b/Completion/Rpm/_rpm_package
new file mode 100644
index 000000000..0cac1c917
--- /dev/null
+++ b/Completion/Rpm/_rpm_package
@@ -0,0 +1,6 @@
+#autoload
+
+local expl
+
+_description expl 'RPM package'
+compadd "$expl[@]" -M 'r:|-=* r:|=*' - $(rpm -qa)