summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:11:45 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 12:11:45 +0000
commit1b470cd87cd82fa442612782f553b684c47cdfbf (patch)
treeb42dc63ad63ec93401112eb3661efaaf90a115f3 /Completion/X
parentf15b5d831984646ced9c94922af34a61f14ebcae (diff)
downloadzsh-1b470cd87cd82fa442612782f553b684c47cdfbf.tar.gz
zsh-1b470cd87cd82fa442612782f553b684c47cdfbf.tar.xz
zsh-1b470cd87cd82fa442612782f553b684c47cdfbf.zip
moved from Completion/X/_x_resource
Diffstat (limited to 'Completion/X')
-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