about summary refs log tree commit diff
path: root/Completion/Rpm/_rpm_relocate
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Rpm/_rpm_relocate')
-rw-r--r--Completion/Rpm/_rpm_relocate11
1 files changed, 11 insertions, 0 deletions
diff --git a/Completion/Rpm/_rpm_relocate b/Completion/Rpm/_rpm_relocate
new file mode 100644
index 000000000..fd27bdd99
--- /dev/null
+++ b/Completion/Rpm/_rpm_relocate
@@ -0,0 +1,11 @@
+#autoload
+
+local expl
+
+if compset -P '*\='; then
+  _description expl 'new path'
+else
+  _description expl 'old path'
+fi
+
+_files "$expl[@]" -/