about summary refs log tree commit diff
path: root/Completion/Rpm/_rpm_pkg_file
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Rpm/_rpm_pkg_file')
-rw-r--r--Completion/Rpm/_rpm_pkg_file7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Rpm/_rpm_pkg_file b/Completion/Rpm/_rpm_pkg_file
new file mode 100644
index 000000000..2a211a28a
--- /dev/null
+++ b/Completion/Rpm/_rpm_pkg_file
@@ -0,0 +1,7 @@
+#autoload
+
+if compset -P ftp:; then
+  _hosts -S/
+else
+  _files -g '*.(#i)rpm'
+fi