about summary refs log tree commit diff
path: root/Completion/Rpm/_rpm_relocate
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_relocate
parentd335ab27a7b0a6926e9d211ca22fd1f065fd258a (diff)
downloadzsh-c8236cdb4906e9e3acc3bd160f810f50fc5d985e.tar.gz
zsh-c8236cdb4906e9e3acc3bd160f810f50fc5d985e.tar.xz
zsh-c8236cdb4906e9e3acc3bd160f810f50fc5d985e.zip
Initial revision
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[@]" -/