about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/X/Type/_x_resource9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/X/Type/_x_resource b/Completion/X/Type/_x_resource
new file mode 100644
index 000000000..a0b8e0f21
--- /dev/null
+++ b/Completion/X/Type/_x_resource
@@ -0,0 +1,9 @@
+#autoload
+
+local x="$argv[(I)-X]"
+
+if (( x )); then
+  _message -r "$argv[x + 1]"
+else
+  _message 'resource'
+fi